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.
This bug was originally marked as duplicate of bug 225440, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.4 (Build 201310111528) VM: Java HotSpot(TM) Client VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05 OS: Windows Vista User Comments: GUEST: <Please provide a description of the problem or the steps to reproduce>www GUEST: Fail GUEST: Starting up. Seems our codebase is too big to parse. GUEST: n GUEST: ??????? ???????????? ??????? marjss: After restarting the Netbeans due to power failure. Stacktrace: java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2367) at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130) at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:114) at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:415) at java.lang.StringBuilder.append(StringBuilder.java:132) at jdk.nashorn.internal.runtime.ErrorManager.format(ErrorManager.java:112)
Created attachment 142220 [details] stacktrace
Exception Reports 700473, 696065, 692434, 691587 and 690653 are cased by CSS org.netbeans.modules.css.lib.api.properties.FixedTextGrammarElement The first one 653540 and the second one 677033 are coming from JSErrorManager and this should be fixed as issue #225440. Reassigning to the css.
*** Bug 238570 has been marked as a duplicate of this bug. ***
This bug already has 50 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=205292
I am sorry but they aren't heap dumps for reports 700473, 696065, 692434, 691587 and 690653 that Petr said are caused by CSS. They are before NB 8.0 I checked following reports that are from NB 8.0.1 and NB 8.0.2 and they are all with big Javascript file or many thousands of JSErrors. I checked all of these reports: 769307, 767781, 766836, 766752, 766529, 766285, 765126, 765090, 764815, 763220, 763151, 763089, 763088, 762905, 762705, 762255, 761930, 761889, 760967, 760874, 760810, 760280, 760262, 760164, 760122, 759611, 758577, 758058 I checked also this report 761904 but it was corrupted. Can Javascript team look at these issues? If you find any of current reports have problem with CSS, please notify me about that. Thank you.
The problem was in parsing files, that has .js extension with json content and the content is corrupted. Then the error from parser usually contains whole file as a string and if there is many errors, then the content was held for every error. Fixed in web-main.
*** Bug 247587 has been marked as a duplicate of this bug. ***
Integrated into 'main-silver', will be available in build *201503250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/b8492045b7f6 User: Petr Pisl <ppisl@netbeans.org> Log: #238414 - OOM - JSErrors
Tested, and works great! Thanx!