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 240111 - Leaking xml document
Summary: Leaking xml document
Status: RESOLVED INVALID
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
: 235454 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-01-08 11:20 UTC by Petr Cyhelsky
Modified: 2015-09-07 13:21 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 2014-01-08 11:20:55 UTC
According to memory leak tests a xml document is still held after all documents are closed in the ide, please see the org.netbeans.modules.editor.NbEditorDocument instance #9 from the heap dump for path to gc root.

The heap dump is available at https://netbeans.org/projects/performance/downloads/download/heapdumps/Memory_leak_xml.7z
Comment 1 Svata Dedic 2015-09-07 13:08:57 UTC
The document is held by XML navigator. The desired function is, however to see the last-edited file's outline in the navigator: so the relevant document is still referenced through the (visible) Navigator although all file's editors are closed.
Comment 2 Svata Dedic 2015-09-07 13:21:37 UTC
*** Bug 235454 has been marked as a duplicate of this bug. ***