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 129435 - Memory leak in GSF
Summary: Memory leak in GSF
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: CSL (API & infrastructure) (show other bugs)
Version: 6.x
Hardware: Sun All
: P2 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 123530 121855
  Show dependency tree
 
Reported: 2008-03-06 16:14 UTC by Jaroslav Tulach
Modified: 2009-02-19 20:45 UTC (History)
2 users (show)

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 Jaroslav Tulach 2008-03-06 16:14:12 UTC
Checking if all projects are really garbage collected Project:
private static final org.netbeans.napi.gsfret.source.Source$EditorRegistryListener
org.netbeans.napi.gsfret.source.Source.editorRegistryListener->
org.netbeans.napi.gsfret.source.Source$EditorRegistryListener@17ffbdf-lastEditor->
org.openide.text.QuietEditorPane@7d23b2-model->
org.netbeans.modules.editor.java.JavaDocument@79cef-documentProperties->
org.netbeans.modules.editor.NbEditorDocument$2@174e8a-table->
[Ljava.util.Hashtable$Entry;@2ee70f-[9]->
java.util.Hashtable$Entry@7a07af-value->
org.netbeans.modules.java.JavaDataObject@16ff60b-nodeDelegate->
org.netbeans.modules.java.JavaNode@ffd2a3-status->
org.netbeans.spi.project.support.ant.GlobFileBuiltQuery$StatusImpl@19b07f9-this$0->
org.netbeans.spi.project.support.ant.GlobFileBuiltQuery@3fc4f9-helper->
org.netbeans.spi.project.support.ant.AntProjectHelper@1b5b044-state->
org.netbeans.api.project.ProjectManager$ProjectStateImpl@16bfca1-p->
org.netbeans.modules.java.j2seproject.J2SEProject@100588d



Please update to new version of retouche
Comment 1 Jaroslav Tulach 2008-03-06 16:16:51 UTC
Marking as regression as we almost fixed the issue 121855, except of this new code. Please fix soon, commit validation
is failing due to this.
Comment 2 Jan Lahoda 2008-03-06 17:31:03 UTC
Should be quite straightforward to fix by replacing uses of org.netbeans.editor.Registry by
org.netbeans.api.editor.EditorRegistry.

Jardo, I think that GSF=ruby/gsf not languages/... I also think the code is there for quite some time.
Comment 3 Jaroslav Tulach 2008-03-10 15:46:10 UTC
Can you work on this issue, please? Soon?
Comment 4 Torbjorn Norbye 2008-03-10 20:39:56 UTC
Fixed in changeset dd801c78b6d0.

I removed the regression keyword since this is not a regression; this behavior has been there in GSF from day 1 (and was
copied from Retouche which appears to since have been fixed; I updated GSF to do the same thing Retouche is doing.)
Comment 5 Torbjorn Norbye 2008-03-10 20:40:28 UTC
Marking as fixed
Comment 6 Martin Krauskopf 2009-02-02 14:36:14 UTC
'ruby/gsf -> editor/csl' mass-move to be able to deleted gsf/ruby. Having to
change the version and platform of all closed moved issues to the same due to
Issuezilla deficiencies - choosing version == 6.5 and TM = 7.0.