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:
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?
Fixed in jet-main.
Integrated into 'main-golden', will be available in build *201209120001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Dusan Balek <email@example.com>
Log: Issue #218063: 6 instances of Symtab - fixed.