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.

Bug 248119 - KOJsEmbeddingProviderPlugin consumes lots of memory -> java.lang.OutOfMemoryError
Summary: KOJsEmbeddingProviderPlugin consumes lots of memory -> java.lang.OutOfMemoryE...
Status: RESOLVED DUPLICATE of bug 246124
Alias: None
Product: web
Classification: Unclassified
Component: Knockout (show other bugs)
Version: 8.0.1
Hardware: PC Windows 8 x64
: P3 normal (vote)
Assignee: Roman Svitanic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-22 20:35 UTC by bennyn
Modified: 2014-11-06 14:47 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE Log (18.40 KB, text/plain)
2014-10-22 20:35 UTC, bennyn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bennyn 2014-10-22 20:35:05 UTC
Created attachment 150064 [details]
IDE Log

A few days I reported a java.lang.OutOfMemoryError (https://netbeans.org/bugzilla/show_bug.cgi?id=247821). I didn't know where the bug came from but it happend always during a scan of my main HTML5 project. The only thing that I could see in the IDE log was a "java.lang.OutOfMemoryError" in "org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:106)".

Now I have extended the memory for NetBeans with the following start parameters: "-J-Xss2m -J-Xms1g -J-Xmx8g -J-XX:+CMSPermGenSweepingEnabled -J-XX:+CMSClassUnloadingEnabled". This gave me the ability to see some more details.

After I opened my HTML5 project, NetBeans 8.0.1 scanned it and went up to 4 GB of memory usage before it crashed in the IDE log. I could see that there are several entries for "org.netbeans.modules.html.knockout.KOJsEmbeddingProviderPlugin".#

I am using Knockout in my project so it looks like that the Knockout template detection consumes way to much memory and crashes then which makes the parse process fail.

I hope this information helps you guys. You are doing a great job!

For more details I attached my IDE log.
Comment 1 Roman Svitanic 2014-11-06 14:47:32 UTC
Thanks for the report, this is a duplicate of bug #246124.

*** This bug has been marked as a duplicate of bug 246124 ***