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 213617 - Memory leak in org.netbeans.spi.debugger.ui.EditorContextDispatcher
Summary: Memory leak in org.netbeans.spi.debugger.ui.EditorContextDispatcher
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 7.2
Hardware: PC Windows 7 x64
: P1 normal (vote)
Assignee: Martin Entlicher
URL: http://netbeans.org/projects/profiler...
Keywords: PERFORMANCE
Depends on:
Blocks: 212702
  Show dependency tree
 
Reported: 2012-06-05 16:20 UTC by Petr Cyhelsky
Modified: 2012-06-07 06:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Cyhelsky 2012-06-05 16:20:15 UTC
There is a potentially big memory leak in  Memory leak in org.netbeans.spi.debugger.ui.EditorContextDispatcher (48 instances of com.sun.tools.jdi.VirtualMachineImpl are held by it in the particular heap dump) see the second heap dump from comment #8 from umbrella issue for details
Comment 2 Martin Entlicher 2012-06-06 12:33:03 UTC
The problem seems to be in listeners on action state changes.
Comment 3 Martin Entlicher 2012-06-06 15:13:01 UTC
Fixed by changeset:   223337:70ac56e642ba
http://hg.netbeans.org/main/rev/70ac56e642ba
I've also found a leak in RemoteServices.remoteServiceClasses - issue #213676
Comment 4 Quality Engineering 2012-06-07 06:01:14 UTC
Integrated into 'main-golden', will be available in build *201206070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/70ac56e642ba
User: mentlicher@netbeans.org
Log: #213617: Prevent from holding ActionsManager from action providers.