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: | Parsing leads to high CPU load and OOM | ||
---|---|---|---|
Product: | javascript | Reporter: | everflux <everflux> |
Component: | Editor | Assignee: | Petr Pisl <ppisl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 8.2 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 242387 | ||
Attachments: | resource usage of the parser |
Description
everflux
2016-01-15 16:12:47 UTC
The upload of the heapdump failed, perhaps it was too big. I saw http://hg.netbeans.org/web-main/rev/6e64ecaac016 and tested that build. It definitively improved, the OOME was gone, but still very high CPU and heap usage after creating a HTML5 project. NetBeans is unresponsive after about 40 seconds. log shows [exec] WARNING [org.netbeans.core.TimableEventQueue]: too much time in AWT thread org.netbeans.modules.sampler.InternalSampler@6a26512e [exec] WARNING [org.netbeans.core.TimableEventQueue]: no snapshot taken [exec] WARNING [org.netbeans.core.TimableEventQueue]: too much time in AWT thread org.netbeans.modules.sampler.InternalSampler@5028795b [exec] WARNING [org.netbeans.core.TimableEventQueue]: no snapshot taken [exec] WARNING [org.netbeans.core.TimableEventQueue]: too much time in AWT thread org.netbeans.modules.sampler.InternalSampler@67e6ffa7 I can attach a screenshot of visualvm. Created attachment 158147 [details]
resource usage of the parser
I'm working on this. Please attach a stacktrace as attachment. It will help to keep the issue more readable. Thanks. Sorry cleaned up the test instance. Will attach stacktrace as file attachment next time. Sorry the heap upload and exception report/stacktrace did not make it... We changed the parser. Now we don't use ANTLR based parser. |