java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:3181) at java.util.ArrayList.grow(ArrayList.java:261) at java.util.ArrayList.ensureExplicitCapacity(ArrayList.java:235) at java.util.ArrayList.ensureCapacityInternal(ArrayList.java:227) at java.util.ArrayList.add(ArrayList.java:458) at org.netbeans.modules.java.api.common.ui.PlatformUiSupport$SourceLevelComboBoxModel.getSourceLevels(PlatformUiSupport.java:956) at org.netbeans.modules.java.api.common.ui.PlatformUiSupport$SourceLevelComboBoxModel.getSize(PlatformUiSupport.java:876) at javax.swing.JComboBox.getItemCount(JComboBox.java:1472) at org.netbeans.modules.java.j2seproject.ui.customizer.CustomizerSources.enableSourceLevel(CustomizerSources.java:256) at org.netbeans.modules.java.j2seproject.ui.customizer.CustomizerSources.access$000(CustomizerSources.java:78) at org.netbeans.modules.java.j2seproject.ui.customizer.CustomizerSources$1.contentsChanged(CustomizerSources.java:141) at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:118) at org.netbeans.modules.java.api.common.ui.PlatformUiSupport$SourceLevelComboBoxModel.resetCache(PlatformUiSupport.java:931) at org.netbeans.modules.java.api.common.ui.PlatformUiSupport$SourceLevelComboBoxModel.contentsChanged(PlatformUiSupport.java:924) at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:118) at org.netbeans.modules.java.api.common.ui.PlatformUiSupport$PlatformComboBoxModel.setSelectedItem(PlatformUiSupport.java:714) at javax.swing.JComboBox.setSelectedItem(JComboBox.java:576) at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:622) at javax.swing.plaf.basic.BasicComboPopup$Handler.mouseReleased(BasicComboPopup.java:834) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290) at java.awt.Component.processMouseEvent(Component.java:6525) at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at javax.swing.plaf.basic.BasicComboPopup$1.processMouseEvent(BasicComboPopup.java:498) at java.awt.Component.processEvent(Component.java:6290) at java.awt.Container.processEvent(Container.java:2234) at java.awt.Component.dispatchEventImpl(Component.java:4881) at java.awt.Container.dispatchEventImpl(Container.java:2292) at java.awt.Component.dispatchEvent(Component.java:4703) at java.awt.LightweightDispatcher.retargetMouseEvent(LightweightDispatcher.java:4898) at java.awt.LightweightDispatcher.processMouseEvent(LightweightDispatcher.java:4533) at java.awt.LightweightDispatcher.dispatchEvent(LightweightDispatcher.java:4462) at java.awt.Container.dispatchEventImpl(Container.java:2278)