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 RC1 (Build 201402242200) VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b69, Java(TM) SE Runtime Environment, 1.8.0-b129 OS: Mac OS X User Comments: GUEST: Editing c++ project inonit: Not sure what was happening; error occurred twice. First time was apparently due to closing a project GUEST: Background scanning of project after Netbeans startup. Stacktrace: java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:3175) at java.util.ArrayList.grow(ArrayList.java:246) at java.util.ArrayList.ensureExplicitCapacity(ArrayList.java:220) at java.util.ArrayList.ensureCapacityInternal(ArrayList.java:212) at java.util.ArrayList.addAll(ArrayList.java:564) at org.netbeans.modules.parsing.impl.indexing.Util.fastTransitiveDeps(Util.java:309)
Created attachment 145602 [details] stacktrace
The reports 711989, 708525 are already fixed. The only valid report is 714504
*** Bug 242492 has been marked as a duplicate of this bug. ***
Created attachment 145769 [details] Netbeans nbproject + build.xml file This is the Netbeans nbproject + build.xml file of my project. There is only this project when I open Netbeans.
Sorry, I wanted to put the attachment in the duplicate bug as required ;)
Fixed jet-main 04d094a347cf
To herve66: Thanks a lot for the test case. Without the test project it will be very hard to fix it. The problem was not in cyclical dependencies but the project has lots of peer source roots causing the OOM. Fixed.
Transplanted into NB 8.0 03938b2f48ed
verified in trunk
Thanks Jirko!
Integrated into 'releases/release80', will be available in build *201403052200* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/03938b2f48ed User: Tomas Zezula <tzezula@netbeans.org> Log: #242375:OutOfMemoryError: Java heap space
Integrated into 'main-silver', will be available in build *201403120001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/04d094a347cf User: Tomas Zezula <tzezula@netbeans.org> Log: #242375:OutOfMemoryError: Java heap space