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 165137 - [67cat] OutOfMemoryError: GC overhead limit exceeded
Summary: [67cat] OutOfMemoryError: GC overhead limit exceeded
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: Dusan Balek
URL: http://statistics.netbeans.org/except...
Keywords:
: 165665 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-14 09:31 UTC by nleck
Modified: 2009-10-06 15:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 151142


Attachments
stacktrace (2.75 KB, text/plain)
2009-05-14 09:31 UTC, nleck
Details
jmap -histo (504.71 KB, text/plain)
2009-09-07 08:36 UTC, nleck
Details
jmap -histo output for NB when locked up. (544.05 KB, text/plain)
2009-09-11 05:06 UTC, nleck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nleck 2009-05-14 09:31:10 UTC
Build: NetBeans IDE Dev (Build 200905101401)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Linux, 2.6.27.21-170.2.56.fc10.x86_64, amd64

Stacktrace: 
java.lang.OutOfMemoryError: GC overhead limit exceeded
        at com.sun.tools.javac.util.ListBuffer.clear(ListBuffer.java:76)
        at com.sun.tools.javac.util.ListBuffer.<init>(ListBuffer.java:72)
        at com.sun.tools.javac.util.ListBuffer.lb(ListBuffer.java:44)
        at com.sun.tools.javac.parser.JavacParser.arguments(JavacParser.java:1232)
        at com.sun.tools.javac.parser.JavacParser.arguments(JavacParser.java:1251)
        at com.sun.tools.javac.parser.JavacParser.term3(JavacParser.java:1064)
Comment 1 nleck 2009-05-14 09:31:21 UTC
Created attachment 82097 [details]
stacktrace
Comment 2 Dusan Balek 2009-05-14 10:24:30 UTC
Could you please upload the generated heapdump to http://editor.netbeans.org/servlets/ProjectDocumentAdd? Thanks.
Comment 3 Dusan Balek 2009-05-21 15:02:52 UTC
*** Issue 165665 has been marked as a duplicate of this issue. ***
Comment 4 Peter Pis 2009-09-03 10:52:30 UTC
Without requested information for long time - INVALID. We can't do anything in this case. Reporter, please add requested
information and reopen issue. Thanks in advance.
Comment 5 nleck 2009-09-03 10:58:08 UTC
I get this fairly often after using NB for a good number of hours ( maybe even days)

I this you may finds it's the number of temporary files which are deleted automatically when the ide restarts. 
Comment 6 nleck 2009-09-03 10:59:06 UTC
PS. when the out of memory occurs the ide locks up so all I can do it kill it. Can't report the error from the ide.
Comment 7 Peter Pis 2009-09-03 12:06:51 UTC
But you can run "jmap" to get heap dump.
Comment 8 nleck 2009-09-03 12:08:17 UTC
I will do next time I get an OOME... should get one in a day or so. I'll re-open for now. 
Comment 9 nleck 2009-09-07 08:36:52 UTC
Created attachment 87198 [details]
jmap -histo
Comment 10 nleck 2009-09-07 09:35:38 UTC
Tried to attach binary dump but the attachment doesn't appear.. 

As a gzip file it's ~90meg so we must be exceeding a limit or something like that. 

The dumps were from when the IDE became unresponsive and needed to be killed. 
Comment 11 nleck 2009-09-11 05:06:47 UTC
Created attachment 87476 [details]
jmap -histo output for NB when locked up.
Comment 12 nleck 2009-09-12 00:45:03 UTC
This is coming fairly regularly. I'm attaching the hprof file. Can I remove the INCOMPLETE keyword now or is there
something else that you would want me to load ? 

GC overhead limit exceeded
Dumping heap to /home/nigel/.netbeans/6.7/var/log/heapdump.hprof ...
Unable to create /home/nigel/.netbeans/6.7/var/log/heapdump.hprof: File exists
Comment 13 Dusan Balek 2009-09-15 12:39:39 UTC
From the attached jmap histogram it seems like a duplicate of #171510 which is already fixed in the latest dev build.
Could you please try to reproduce it using the latest dev build? Thanks.
Comment 14 nleck 2009-09-15 12:47:10 UTC
I'll down load a copy tomorrow and test it out for a few days. 

Comment 15 Dusan Balek 2009-10-06 15:47:31 UTC
Should be fixed in the current dev build.