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.2 (Build 201411181905) VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b18 OS: Windows 7 User Comments: catalin: Opened a new file GUEST: I want to select some file (~300) in one folder. Stacktrace: java.lang.OutOfMemoryError: GC overhead limit exceeded at java.util.Arrays.asList(Arrays.java:3800) at org.openide.util.lookup.InheritanceTree.arrayEn(InheritanceTree.java:1245) at org.openide.util.lookup.ArrayStorage.lookup(ArrayStorage.java:228) at org.openide.util.lookup.DelegatingStorage.lookup(DelegatingStorage.java:174) at org.openide.util.lookup.AbstractLookup$R.initItems(AbstractLookup.java:1158) at org.openide.util.lookup.AbstractLookup$R.allItemsWithoutBeforeLookup(AbstractLookup.java:1124)
Created attachment 152320 [details] stacktrace
*** Bug 244543 has been marked as a duplicate of this bug. ***
Through our investigation, we found that the following changes may induced this bug: rank revision suspicious value 1 a6b6e3cf36a4(http://hg.netbeans.org/main/rev/a6b6e3cf36a4) 0.9618226259880613 2 f9500015840d(http://hg.netbeans.org/main/rev/f9500015840d) 0.7046244311513263 3 dda70298f395(http://hg.netbeans.org/main/rev/dda70298f395) 0.5301974388139984 4 d0bc44447e65(http://hg.netbeans.org/main/rev/d0bc44447e65) 0.3964604939827527 5 8494397b0b0a(http://hg.netbeans.org/main/rev/8494397b0b0a) 0.3132575931906009 6 22d149a03944(http://hg.netbeans.org/main/rev/22d149a03944) 0.26266993469293815 7 f1d746e27248(http://hg.netbeans.org/main/rev/f1d746e27248) 0.20981678613016036 8 f143d26b5461(http://hg.netbeans.org/main/rev/f143d26b5461) 0.17181570097236046 9 7e0db11aadfd(http://hg.netbeans.org/main/rev/7e0db11aadfd) 0.14976544990118984 10 39a6cecbf6f7(http://hg.netbeans.org/main/rev/39a6cecbf6f7) 0.1340019749900846 Hope it is useful for fixing this bug. If so, please help us conduct this short survey https://docs.google.com/forms/d/1roQYX1dHezcB97KQ_iTKEtadaVbzK6FpU-6aGxeUo6M :) Thanks very much!
The problem here is that nodes+lookups start firing events when someone's getting instances from nodes lookup. Fix could be: 1) NodeLookup.updateLookupAsCookiesAreChanged passes its own Executor when calling Lookup.setPairs 2) The executor collects events and fires them all in invokeLater
Fixed by Ondrej Vrabec in commit http://hg.netbeans.org/core-main/rev/fd15d00453fa Thank you for reporting.
Integrated into 'main-silver', will be available in build *201509240002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/fd15d00453fa User: Jaroslav Havlin <jhavlin@netbeans.org> Log: #250817: Slowness and OutOfMemoryError when selecting 100+ nodes Fix by Ondrej Vrabec.
*** Bug 248764 has been marked as a duplicate of this bug. ***