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 239822 - OutOfMemoryError: GC overhead limit exceeded
Summary: OutOfMemoryError: GC overhead limit exceeded
Status: RESOLVED DUPLICATE of bug 238864
Alias: None
Product: web
Classification: Unclassified
Component: CSS Editor (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: issues@web
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-27 09:09 UTC by Exceptions Reporter
Modified: 2014-04-25 11:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 206254


Attachments
stacktrace (490 bytes, text/plain)
2013-12-27 09:09 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2013-12-27 09:09:41 UTC
This issue was reported manually by thurka.
It already has 1 duplicates 


Build: NetBeans IDE 7.4 (Build 201310111528)
VM: OpenJDK 64-Bit Server VM, 23.7-b01, OpenJDK Runtime Environment, 1.7.0_25-b30
OS: Linux

User Comments:
GUEST: Copy/pasting a small amount of html inside a .twig file




Stacktrace: 
java.lang.OutOfMemoryError: GC overhead limit exceeded
   at java.util.Arrays.copyOf(Arrays.java:2367)
   at java.lang.String.<init>(String.java:168)
   at java.lang.String.valueOf(String.java:2868)
   at java.lang.Thread.getName(Thread.java:1150)
   at org.openide.util.RequestProcessor$Processor.put(RequestProcessor.java:1942)
   at org.openide.util.RequestProcessor.askForWork(RequestProcessor.java:642)
Comment 1 Exceptions Reporter 2013-12-27 09:09:43 UTC
Created attachment 143477 [details]
stacktrace
Comment 2 Tomas Hurka 2013-12-27 10:06:21 UTC
Retained size of 49 instances of org.netbeans.modules.css.lib.RootNode is 470M. It looks like model for different versions of the same file is held in memory. If this can be eliminated, it can save a lot of memory. See for example path to GC root for the following char[]:
char[]#414418
char[]#401974
char[]#407937
Comment 3 Jan Becicka 2014-04-25 11:44:23 UTC

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