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 212771 - Memory leak in org.netbeans.modules.debugger.jpda.projects.LineTranslations
Summary: Memory leak in org.netbeans.modules.debugger.jpda.projects.LineTranslations
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 212702
  Show dependency tree
 
Reported: 2012-05-21 10:24 UTC by Petr Cyhelsky
Modified: 2012-05-30 05:28 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-05-21 10:24:21 UTC
Please open heapdump2-after2hoursWork.hprof from umbrella issue.
Instances #3 - #8 of NbEditorDocument are held by org.netbeans.modules.debugger.jpda.projects.LineTranslations

please evaluate.
Comment 1 Martin Entlicher 2012-05-29 15:22:56 UTC
Fixed by changeset:   223027:3c2f1c58ff02
http://hg.netbeans.org/main/rev/3c2f1c58ff02
Comment 2 Quality Engineering 2012-05-30 05:28:23 UTC
Integrated into 'main-golden', will be available in build *201205300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/3c2f1c58ff02
User: mentlicher@netbeans.org
Log: #212771: Attach the line translation listener to requested files only. Detach when there are no more open panes and attach again when some is opened.