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.
This issue was reported manually by ovrabec. It already has 1 duplicates Build: NetBeans IDE Dev (Build 20131209-8c7c3f646000) VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b59, Java(TM) SE Runtime Environment, 1.8.0-ea-b117 OS: Linux User Comments: ovrabec: happened while processing a heap dump. I accidentally clicked on the link Thread causing OOME exception: "thread name" while the IDE was computing retained sizes Maximum slowness yet reported was 201272 ms, average is 201272
Created attachment 143067 [details] nps snapshot
Heap model now accessed outside of EDT: http://hg.netbeans.org/profiler-main/rev/22e373839762.
There's some additional work to address this issue: Calling Heap.getJavaClassByID(long) or Heap.getInstanceByID(long) probably doesn't need to be blocked by computing retained sizes. If decided to block the above methods while computing retained sizes, the user should see a progress while waiting for the requested action.
Integrated into 'main-silver', will be available in build *201312180002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/22e373839762 User: Jiri Sedlacek <jis@netbeans.org> Log: Partial fix of #239378 - accessing heap model off the EDT