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 164931 - OutOfMemoryError when computing retain sizes
Summary: OutOfMemoryError when computing retain sizes
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Hurka
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-12 12:39 UTC by Tomas Hurka
Modified: 2009-05-14 10:05 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 151011


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Hurka 2009-05-12 12:39:56 UTC
Open large heap dump and compute retain sizes



Build: NetBeans IDE Dev (Build 090512)
VM: Java HotSpot(TM) 64-Bit Server VM, 1.6.0_07-b06-57, Java(TM) SE Runtime Environment, 1.6.0_07-b06-153
OS: Mac OS X, 10.5.6, x86_64
User comments: Open large heap dump and compute retain sizes
STACKTRACE: (first 10 lines)
java.lang.OutOfMemoryError: Java heap space
        at java.util.HashMap.resize(HashMap.java:462)
        at java.util.HashMap.addEntry(HashMap.java:755)
        at java.util.HashMap.put(HashMap.java:385)
        at org.netbeans.lib.profiler.heap.HprofHeap.computeRetainedSize(HprofHeap.java:626)
        at org.netbeans.lib.profiler.heap.HprofHeap.getRetainedSize(HprofHeap.java:317)
        at org.netbeans.lib.profiler.heap.InstanceDump.getRetainedSize(InstanceDump.java:117)
        at org.netbeans.modules.profiler.heapwalk.HeapFragmentWalker.computeRetainedSizes(HeapFragmentWalker.java:149)
        at org.netbeans.modules.profiler.heapwalk.ClassPresenterPanel$1$1.run(ClassPresenterPanel.java:207)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:576)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1013)
Comment 1 Tomas Hurka 2009-05-14 10:05:52 UTC
Fixed in profiler-main.
changeset:   131278:fb4f651e30f6
user:        Tomas Hurka <thurka@netbeans.org>
date:        Thu May 14 10:56:56 2009 +0200
summary:     bugfix #164931, domTreeMap cache removed - it does not help to speed-up the computation