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

Summary: OutOfMemoryError: GC overhead limit exceeded
Product: web Reporter: Exceptions Reporter <exceptions_reporter>
Component: CSS EditorAssignee: issues@web <issues>
Status: RESOLVED DUPLICATE    
Severity: normal CC: thurka
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 206254
Attachments: stacktrace

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 ***