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.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b15 OS: Windows 8 User Comments: GUEST: opened a gruntfile then it went wrong GUEST: Opening Netbeans petah: NB is a hog GUEST: Just work with 15-20 opened files. Stacktrace: java.lang.OutOfMemoryError: GC overhead limit exceeded at java.util.Arrays.copyOfRange(Arrays.java:3664) at java.lang.String.<init>(String.java:201) at java.lang.String.substring(String.java:1957) at java.net.URI$Parser.substring(URI.java:2869) at java.net.URI$Parser.parseHierarchical(URI.java:3106) at java.net.URI$Parser.parse(URI.java:3053)
Created attachment 154876 [details] stacktrace
All 4 reports shows, that there are loaded many Lucene fields from index. I have already did small fixes in NB 8.1 code.
Marking as fixed. I rewrote algorithm, how are stored assignments. So far there were stored every type from assignments. So for example this fragment of switch: case 'OP': key.name = 'f1'; break; case 'OQ': key.name = 'f2'; break; case 'OR': key.name = 'f3'; break; case 'OS': key.name = 'f4'; break; case '[11~': key.name = 'f1'; break; case '[12~': key.name = 'f2'; break; case '[13~': key.name = 'f3'; break; case '[14~': key.name = 'f4'; break; produced 11 assignments of String. In the model we need just the offset of the first assignment, so after the rewrite there is only one assignment with the min offset. This should help in the cases, which are reported.
Integrated into 'main-silver', will be available in build *201509030002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/356b0b6780f1 User: Petr Pisl <ppisl@netbeans.org> Log: #253771 - OutOfMemoryError: GC overhead limit exceeded
*** Bug 249067 has been marked as a duplicate of this bug. ***
*** Bug 248483 has been marked as a duplicate of this bug. ***
*** Bug 242146 has been marked as a duplicate of this bug. ***
*** Bug 247602 has been marked as a duplicate of this bug. ***