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.

Bug 258560

Summary: OutOfMemoryError: Java heap space
Product: java Reporter: Alexander Kouznetsov <mrkam>
Component: ProjectAssignee: Tomas Zezula <tzezula>
Status: NEW ---    
Severity: normal CC: wickund
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 222028
Attachments: stacktrace

Description Alexander Kouznetsov 2016-03-28 21:53:50 UTC
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)
Comment 1 Alexander Kouznetsov 2016-03-28 21:53:52 UTC
Created attachment 159027 [details]
stacktrace