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.
Build: NetBeans IDE 8.0 (Build 201403101706) VM: Java HotSpot(TM) 64-Bit Server VM, 25.11-b03, Java(TM) SE Runtime Environment, 1.8.0_11-b12 OS: Mac OS X User Comments: Rachel_Greenham: I happened to leave it running overnight. The following morning, it was mostly unresponsive (attempts to interact mostly just resulted in a short-lived beachball). I tried quitting (normally); after a while all the window/menu disappeared and there was no apparent sign of it except in the Force Quit dialogue. (I forgot to check activity monitor) Eventually hit force-quit. Stacktrace: java.lang.OutOfMemoryError: GC overhead limit exceeded at java.util.HashMap.resize(HashMap.java:703) at java.util.HashMap.putVal(HashMap.java:628) at java.util.HashMap.put(HashMap.java:611) at java.util.HashSet.add(HashSet.java:219) at java.util.AbstractCollection.addAll(AbstractCollection.java:344) at java.util.LinkedHashSet.<init>(LinkedHashSet.java:169)
Created attachment 148171 [details] stacktrace
org.netbeans.core.startup.preferences.NbPreferences$UserPreferences#403 1,019,113,627 one pref node occupies over 1G :-). Fanis, what good is NbPreferences.cachedKeyValues? It contains over 1mil items. If you really need a history, can it be a limited one? Maven indexer called Prefs.put() many times over user's session and NbPreferences just collected all of those values.
This should be fixed by http://hg.netbeans.org/main-silver/rev/6ad45f1e33cb. Please try a latest build and reopen if it still happens for you. Thank you