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 237014 - OutOfMemoryError: GC overhead limit exceeded
Summary: OutOfMemoryError: GC overhead limit exceeded
Alias: None
Product: web
Classification: Unclassified
Component: CSS Editor (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
: 253878 (view as bug list)
Depends on:
Reported: 2013-10-11 08:19 UTC by idrnathan
Modified: 2015-09-08 13:13 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 204511

stacktrace (3.09 KB, text/plain)
2013-10-11 08:19 UTC, idrnathan

Note You need to log in before you can comment on or make changes to this bug.
Description idrnathan 2013-10-11 08:19:31 UTC
Build: NetBeans IDE 7.4 RC2 (Build 201309252201)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11
OS: Windows 8

User Comments:
idrnathan: NetBeans crashed unexpectadley when I was re-maximising the window.

java.lang.OutOfMemoryError: GC overhead limit exceeded
   at java.util.ArrayList.<init>(
   at java.util.ArrayList.<init>(
   at org.netbeans.modules.javascript2.editor.index.IndexedElement.getAssignments(
   at org.netbeans.modules.javascript2.editor.index.IndexedElement.getAssignments(
   at org.netbeans.modules.javascript2.editor.index.IndexedElement.create(
   at org.netbeans.modules.javascript2.editor.index.JsIndex.getProperties(
Comment 1 idrnathan 2013-10-11 08:19:32 UTC
Created attachment 141001 [details]
Comment 2 Petr Pisl 2014-02-03 15:00:34 UTC
The head dump contains many instances of org.netbeans.modules.css.editor.csl.CssNodeElement	8.273087532976813	1,384,929 (8.3%)	55,397,160 (5.6%)

and also there is suspicious the amount of org.netbeans.modules.javascript2.editor.JsStructureScanner$JsSimpleStructureItem	2.727600572300008	456,605 (2.7%)	40,181,240 (4%)
Comment 3 Jaroslav Havlin 2014-04-11 10:50:53 UTC
*** Bug 243373 has been marked as a duplicate of this bug. ***
Comment 4 Jaroslav Havlin 2015-07-30 14:02:21 UTC
*** Bug 253878 has been marked as a duplicate of this bug. ***
Comment 5 Petr Pisl 2015-09-08 13:13:09 UTC
The heapdump-787052 shows problem in Navigator, where 3.5 millions of css structure items is hold. 

The heapdump-791047 contains 3.2 millions of org.netbeans.modules.css.lib.RuleNode due reafactoring preview. 

The heapdump-787785 contains 2.5 millions of org.netbeans.modules.parsing.impl.indexing.FileObjectIndexable. It looks like a big root is indexed. CC'ing Tomas Zezula, if he wants to look at this. 

Other reports doesn't contain heapdump now. Reassigning to the css, duo to two reports.