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 169340 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: RESOLVED INCOMPLETE
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@profiler
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-28 14:34 UTC by Oleg Khokhlov
Modified: 2009-11-05 12:33 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 154368


Attachments
stacktrace (924 bytes, text/plain)
2009-07-28 14:34 UTC, Oleg Khokhlov
Details
stacktrace (1012 bytes, text/plain)
2009-10-19 16:45 UTC, Jaroslav Pospisil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Khokhlov 2009-07-28 14:34:00 UTC
Build: NetBeans IDE Dev (Build 200907280201)
VM: Java HotSpot(TM) Client VM, 1.5.0_19-137, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_19-b02-304
OS: Mac OS X, 10.5.7, i386

User Comments:
ovk: opening big j2se project with existing sources



Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
        at java.io.ByteArrayOutputStream.<init>(ByteArrayOutputStream.java:59)
        at org.netbeans.modules.profiler.LoadedSnapshot.save(LoadedSnapshot.java:239)
        at org.netbeans.modules.profiler.actions.SelfSamplerAction$Controller.actionPerformed(SelfSamplerAction.java:202)
        at org.netbeans.core.TimableEventQueue.done(TimableEventQueue.java:138)
        at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:119)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
Comment 1 Oleg Khokhlov 2009-07-28 14:34:06 UTC
Created attachment 85341 [details]
stacktrace
Comment 2 Jaroslav Pospisil 2009-10-19 16:44:53 UTC
Build: NetBeans IDE 6.8 Beta (Build 200910171337)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows Vista, 6.0, x86

User Comments: 
Worked with NB Beta for some time. Gfv3 started,some Maven projects deployed...created fourth one and then,after couple of minutes stalling,this exception appeared

Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
        at java.io.ByteArrayOutputStream.<init>(ByteArrayOutputStream.java:60)
        at org.netbeans.modules.profiler.LoadedSnapshot.save(LoadedSnapshot.java:239)
        at org.netbeans.modules.profiler.actions.SelfSamplerAction$Controller.actionPerformed(SelfSamplerAction.java:269)
        at org.netbeans.core.TimableEventQueue.done(TimableEventQueue.java:138)
        at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:119)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
Comment 3 Jaroslav Pospisil 2009-10-19 16:45:18 UTC
Created attachment 89693 [details]
stacktrace
Comment 4 Tomas Hurka 2009-11-05 12:33:12 UTC
Can you please provide heap dump? The heap dump is automatically created in <userdir>/var/log/. The attached stacktraces are not useful to find out what is 
going on. Thanks.