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 - OutOfMemoryError: GC overhead limit exceeded
Summary: OutOfMemoryError: GC overhead limit exceeded
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-19 16:00 UTC by jyeary
Modified: 2016-07-07 07:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 208523


Attachments
stacktrace (3.00 KB, text/plain)
2014-03-19 16:00 UTC, jyeary
Details
Screenshot - heapdump - classes with retained sizes (196.96 KB, image/png)
2014-03-28 08:47 UTC, Jaroslav Havlin
Details

Note You need to log in before you can comment on or make changes to this bug.
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