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.
Heap dump contains 6 instances of com.sun.tools.javac.code.Symtab. It looks like this is similar to issue #217339. Product Version = NetBeans IDE Dev (Build 20120817-b01a4345a0b9) Operating System = Linux version 3.2.0-29-generic-pae running on i565 Java; VM; Vendor = 1.6.0_30 Runtime = Java HotSpot(TM) Client VM (20.5-b03, mixed mode, sharing) I will add link to heap dump.
Heap dump is available here: <http://netbeans.org/projects/profiler/downloads/download/Heapdumps/heapdump_218063.zip>
I think I have found it: 1. start a code template (fore<SPACE>) 2. Undo (Ctrl-Z) This will release() the CodeTemplateInsertHandler through the TemplateInsertUndoEdit, but won't remove it from the Document's properties. Simplest solution would be to clear the Document property: doc.putProperty(CT_HANDLER_DOC_PROPERTY, null) in TIUE, but I am not sure what is the relation to embedded code templates. Dusan, could you please take a look? Thanks.
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/130e08b1d8f8
Integrated into 'main-golden', will be available in build *201209120001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/130e08b1d8f8 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #218063: 6 instances of Symtab - fixed.