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.
Umbrella bug 191872 contains several unrelated OOME problems, of which this is projects-related: http://statistics.netbeans.org/exceptions/exception.do?id=437533
OpenProjectList.printMsg apparently was appending to a StringBuffer already at 35M chars. I guess this logging is not really so important that it can't be suppressed at some cutoff?
I guess we can remove the logging completely, as the problem is fixed for few years already.
That's one option. I was thinking to just truncate anything over some modest length limit. (I don't know why the output was so voluminous in this particular case - many open projects? Some weird long label in one project? Heap dump might hold a clue but I did not spend too long looking at it.) BTW gunzip on the dump.gz gives me an EOF error but gzip -d -c dump.gz > dump seems to produce a usable result.
FWIW, I have a heap dump where this char[] takes ~196MB - was trying to start IDE with ~1000 project opened.
ergonomics#0211de3cc325
Integrated into 'main-golden', will be available in build *201101270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/0211de3cc325 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #194451: Don't collect all the log messages anymore. The bugs associated with LazyProject nodes seem to be fixed for more than two years.