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: | OpenProjectList.printMsg produces overwhelming amount of log data | ||
---|---|---|---|
Product: | projects | Reporter: | Petr Jiricka <pjiricka> |
Component: | Generic Infrastructure | Assignee: | Jaroslav Tulach <jtulach> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jglick, jlahoda |
Priority: | P2 | Keywords: | PERFORMANCE |
Version: | 7.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 128692, 191872 |
Description
Petr Jiricka
2011-01-18 20:06:01 UTC
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. |