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.
I think there´s a memory leak at the current build. Yesterday I started NB at morning and worked some hours. Then the IDE slows down and so I made a heap-dump (jvisualvm). Please have a look at http://www.MegaShare.com/3051808. There´s a zipped heap-dump. Product Version: NetBeans IDE Dev (Build 201102280001) Java: 1.6.0_23; Java HotSpot(TM) 64-Bit Server VM 19.0-b09 System: Windows 7 version 6.1 running on amd64; Cp1252; de_AT (nb)
Created attachment 106619 [details] Log-File.
Thanks for the heapdump. There are 25 instances of javac (way too many), of which: -12 held by DeferredLintHandler -10 held by ELWhereUsedQuery -3 held from editor-related caches (a bit suspicious, but not a big problem compared to the remaining 22 instances)
Today the same problem: http://www.MegaShare.com/3057697 -- Product Version: NetBeans IDE Dev (Build 201103020001) Java: 1.6.0_23; Java HotSpot(TM) 64-Bit Server VM 19.0-b09
I have filled a separate bug for the ELWhereUsedQuery (bug #196306). The DeferredLintHandler bug can be reproduced using this source code: class Test extends java.util.ArrayList<String> { public java.util.Iterator iterator() { return null; } } when the Standard java warnings are enabled in Tools/Options/Editor/Hints/Java.
Fixing the DeferredLintHandler part in nb-javac (not yet part of NetBeans proper): http://hg.netbeans.org/main/nb-javac/rev/fb5541f19043
http://hg.netbeans.org/jet-main/rev/b6143b0ddc2e
Integrated into 'main-golden', will be available in build *201103080000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/b6143b0ddc2e User: Jan Lahoda <jlahoda@netbeans.org> Log: #196134, #196181: updating the nb-javac library