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 239377 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Martin Entlicher
URL:
Keywords:
: 239646 239658 243160 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-12-11 15:25 UTC by jag
Modified: 2014-03-28 10:08 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 205943


Attachments
stacktrace (315 bytes, text/plain)
2013-12-11 15:25 UTC, jag
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jag 2013-12-11 15:25:01 UTC
Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b60, Java(TM) SE Runtime Environment, 1.8.0-ea-b118
OS: Mac OS X

User Comments:
jag: 8 threads running at 100% for a very long time - started in the middle of the night while I was sleeping, the roar of the fans woke me up.  I waited for it to just end on it's own, which never happened.  I gave up and shut down netbeans.




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.util.concurrent.locks.ReentrantLock$Sync.newCondition(ReentrantLock.java:168)
   at java.util.concurrent.locks.ReentrantLock.newCondition(ReentrantLock.java:500)
   at javax.swing.TimerQueue.run(TimerQueue.java:192)
   at java.lang.Thread.run(Thread.java:744)
Comment 1 jag 2013-12-11 15:25:02 UTC
Created attachment 143065 [details]
stacktrace
Comment 2 Tomas Hurka 2013-12-12 13:42:01 UTC
The heap dump contains over 2,000,000 of com.sun.tools.jdi.Packet instances and retained size of com.sun.tools.jdi.VirtualMachineImpl#6 is about 250M, com.sun.tools.jdi.VirtualMachineImpl#8 has over 100M. Reassigning to debugger for further evaluation.
Comment 3 Martin Entlicher 2013-12-12 17:15:52 UTC
The debugger session-specific view models are held in memory by CompoundTreeModel listeners.

Fixed by changeset:   269276:ef174ad3ab26
http://hg.netbeans.org/core-main/rev/ef174ad3ab26
Comment 4 Tomas Hurka 2014-01-28 13:03:54 UTC
*** Bug 239658 has been marked as a duplicate of this bug. ***
Comment 5 Tomas Hurka 2014-03-18 15:33:58 UTC
*** Bug 239646 has been marked as a duplicate of this bug. ***
Comment 6 Petr Cyhelsky 2014-03-28 10:08:09 UTC
*** Bug 243160 has been marked as a duplicate of this bug. ***