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 270366 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-11 16:16 UTC by derikd
Modified: 2017-04-11 16:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 206917


Attachments
stacktrace (2.14 KB, text/plain)
2017-04-11 16:16 UTC, derikd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description derikd 2017-04-11 16:16:28 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.73-b02, Java(TM) SE Runtime Environment, 1.8.0_73-b02
OS: Mac OS X

User Comments:
GUEST: The running netbeans process wasn't accessed for 4 days. Now I wanted to contiune to programm but netbeans stopped responding.

derikd: If I let NetBeans sit idle overnight,  then when I come in the morning it will be consuming 100% of all CPU resoureces.   

Someitmes, as was the case here, NetBeans is non-responsive to the OS and I am required to use Force Quit to recover control of the CPU resources.  Othertimes I can just close it and reopen.

Running OSX 10.11.6.   On a MacPro mid 2012 edition (16GB RAM and Quad Core Xeon).  

This wasn't a problem until the last few months.




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.editor.lib2.highlighting.DirectMergeContainer.getHighlights(DirectMergeContainer.java:107)
Comment 1 derikd 2017-04-11 16:16:30 UTC
Created attachment 164082 [details]
stacktrace