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: | OutOfMemoryError after Building projects | ||
---|---|---|---|
Product: | java | Reporter: | stefan79 <stefan79> |
Component: | Source | Assignee: | Tomas Zezula <tzezula> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mmirilovic, tzezula |
Priority: | P2 | ||
Version: | 7.3 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 221359 | ||
Attachments: |
Log-File.
Compiler-Output Log-File. Log-File after restarting (OOME occured again) |
Description
stefan79
2012-11-02 14:20:42 UTC
Created attachment 127020 [details]
Log-File.
Created attachment 127021 [details]
Compiler-Output
Dump was uploaded to hudson. -> http://deadlock.netbeans.org/hudson/job/upload/86/ It looks like checking for LowMemory does not work well. Heap dump available on request. Added logging jet-main 406bbad27b82. Seems a problem with MemoryMXBean. Please can you run the IDE with -J-Dorg.netbeans.modules.parsing.lucene.support.LowMemoryWatcher.level=FINEST option and retry to reproduce the problem? You will need a build containing the changeset 406bbad27b82. Thanks! Integrated into 'main-golden', will be available in build *201211060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/406bbad27b82 User: Tomas Zezula <tzezula@netbeans.org> Log: #221357:OutOfMemoryError after Building projects Please attach the log with the -J-Dorg.netbeans.modules.parsing.lucene.support.LowMemoryWatcher.level=FINEST and reopen then. Created attachment 127637 [details]
Log-File.
OutOfMemoryError occured again at current build (201211120001).
LowMemoryWatcher was activated.
I´ll upload the Dump to hudson.
Dump is available at hudson: http://deadlock.netbeans.org/hudson/job/upload/99/ Seems very strange as right before OOM there were nearly 300MB of free space: Max memory: 1.908.932.608, Used memory: 1.617.979.552, Created attachment 127686 [details]
Log-File after restarting (OOME occured again)
Yesterday this was the same story:
-) I refreshed some source files (update CVS)
-) NB started Background-Scanning -> OOME occured
-) I restarted NB -> OOME occured again
-) I restarted NB -> OOME occured again
-) I cleared the Cache-Directory and startet NetBeans again -> It works
Tomas, you are looking into this, right? Restored the behaviour of LowMemoryWatch not to cross the CMS stop the world limit. jet-main fdbf73f77a1d |