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.
Summary: | Systematic Java Heap space exception at start | ||
---|---|---|---|
Product: | editor | Reporter: | herve66 |
Component: | Parsing & Indexing | Assignee: | Tomas Zezula <tzezula> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 8.0 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
The IDE log retrieved by the IDE at each start
Netbeans project + build.xml file |
I did not change the defaults options which are: netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true -J-Dsun.zip.disableMemoryMapping=true" And I have 16 Go of physical memory available on my PC. To diagnose it, we need a heap dump from java.lang.OutOfMemoryError. Please upload zipped heap dump (C:\Users\Herve\AppData\Roaming\NetBeans\8.0rc1\var\log\heapdump.hprof.old) here: <http://deadlock.netbeans.org/job/upload/build>. Thanks. OK, I'm doing it right now. It seems that it fails with this problem once in 2 or 3 start attempts, not all (however, yesterday, it seemed to fail all the time). OK, done, the ID for the zipped dump is Bug242492. java.util.ArrayList#15517 has retained size 460M. It has 52,500,000 items, full of duplicated URLs. This array list is held from org.netbeans.modules.parsing.impl.indexing.Util.fastTransitiveDeps() in "RepositoryUpdater.worker" thread. Reassigning to editor/parsing for further evaluation. Caused by cyclic dependencies in projects. *** This bug has been marked as a duplicate of bug 242375 *** I opened only one Netbeans project, and it does not depend on other projects. Is there something I can do to fix this on my side? If you can send me or attach the project or at least nbproject folder it will help. Thanks! Created attachment 145770 [details] Netbeans project + build.xml file The Netbeans project + build.xml file for the project. There is only this project when I open Netbeans, and it has no dependencies I know of. The full project is at: https://sourceforge.net/p/j661/code/HEAD/tree/j661/trunk/. Thanks, Herve Thanks! Do you want me to test on my project it on the last nightly build? I look on the parent bug and it looks as the fix is in trunk. As far as I know the QA (Jirka Prox) already did verification on the https://sourceforge.net/p/j661/code/HEAD/tree/j661/trunk/ sources. |
Created attachment 145699 [details] The IDE log retrieved by the IDE at each start Since NetBeans 8.0, I have a systematic Java heap space exception when starting Netbeans. I use Netbeans with Java 8 RC (b129), but I used the same JVM for 7.4 without any problem. Note that I even have this problem if I previously closed all projects in the IDE before closing (so if I open NetBeans without any project to open).