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 240045 - OutOfMemoryError: GC overhead limit exceeded
Summary: OutOfMemoryError: GC overhead limit exceeded
Status: RESOLVED INCOMPLETE
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: issues@web
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-06 23:40 UTC by MorPheuZL
Modified: 2014-07-23 07:33 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 206352


Attachments
stacktrace (2.27 KB, text/plain)
2014-01-06 23:40 UTC, MorPheuZL
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MorPheuZL 2014-01-06 23:40:00 UTC
Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Mac OS X

User Comments:
MorPheuZL: I have a MacBook Air with 4GB of RAM, Netbeans 7.4. Eveything usual runs fine, but sometimes Netbeans decides to eat up all the RAM, become unstable and force me to have to Force Quit it.

This time it only had about 15 files open.




Stacktrace: 
java.lang.OutOfMemoryError: GC overhead limit exceeded
   at org.openide.util.lookup.Lookups.singleton(Lookups.java:77)
   at org.openide.util.lookup.Lookups.fixed(Lookups.java:103)
   at org.netbeans.modules.csl.navigation.ElementNode.<init>(ElementNode.java:109)
   at org.netbeans.modules.csl.navigation.ElementNode$ElementChildren.createNodes(ElementNode.java:394)
   at org.netbeans.modules.csl.navigation.ElementNode$ElementChildren.createNodes(ElementNode.java:369)
   at org.openide.nodes.Children$Keys$KE.nodes(Children.java:1662)
Comment 1 MorPheuZL 2014-01-06 23:40:01 UTC
Created attachment 143646 [details]
stacktrace
Comment 2 Milutin Kristofic 2014-01-14 13:31:26 UTC
Too many HtmlStructureItems. Can you please evaluate if html is not creating too many html structure items. It seems documents are not that big.
Comment 3 Marek Fukala 2014-07-23 07:33:35 UTC
315k of StructureItem-s is not so much for a larger file. 

There's no apparent cause of the OOM so I can't do much with this issue w/o the offending file. Please attach the project/file which causes the problems.