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 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-28 21:53 UTC by Alexander Kouznetsov
Modified: 2017-10-19 13:11 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 222028


Attachments
stacktrace (2.66 KB, text/plain)
2016-03-28 21:53 UTC, Alexander Kouznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
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