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 243062

Summary: OutOfMemoryError: GC overhead limit exceeded
Product: java Reporter: jyeary <jyeary>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 208523
Attachments: stacktrace
Screenshot - heapdump - classes with retained sizes

Description jyeary 2014-03-19 16:00:29 UTC
Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b70, Java(TM) SE Runtime Environment, 1.8.0-b132
OS: Windows 7

User Comments:
jyeary: Opening a project.




Stacktrace: 
java.lang.OutOfMemoryError: GC overhead limit exceeded
   at java.util.Arrays.copyOfRange(Arrays.java:2694)
   at java.lang.String.<init>(String.java:203)
   at java.lang.String.toUpperCase(String.java:2664)
   at org.openide.filesystems.DefaultAttributes$ElementHandler.checkAttributes(DefaultAttributes.java:1295)
   at org.openide.filesystems.DefaultAttributes$ElementHandler.startElement(DefaultAttributes.java:1193)
   at org.openide.filesystems.DefaultAttributes$InnerParser.startElement(DefaultAttributes.java:1389)
Comment 1 jyeary 2014-03-19 16:00:30 UTC
Created attachment 146154 [details]
stacktrace
Comment 2 Jaroslav Havlin 2014-03-28 08:47:05 UTC
Created attachment 146367 [details]
Screenshot - heapdump - classes with retained sizes
Comment 3 Jaroslav Havlin 2014-03-28 08:55:13 UTC
NetBeans class with the highest total retained size is org.netbeans.lib.nbjavac.services.NBParserFactory$NBJavacParser$EndPosTableImpl (see attached screenshot).

This issue may be related to bug 234498.

I'm not sure whether this is a bug in NetBeans, or the Xmx JVM parameter just needs to be increased (due to size of open projects).
Reassigning to java/Compiler. Please evaluate it, thank you.
Comment 4 Martin Balin 2016-07-07 07:16:04 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss