This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Build: NetBeans IDE 8.1 (Build 201510222201) VM: Java HotSpot(TM) 64-Bit Server VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b24 OS: Windows 7 User Comments: mrkam: Selected a target platform of JDK 9 b110 for the project GUEST: Even with 4g heap. Stacktrace: 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)
Created attachment 159027 [details] stacktrace