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 233824

Summary: OutOfMemoryError: GC overhead limit exceeded
Product: debugger Reporter: Ondrej Vrabec <ovrabec>
Component: JavaAssignee: Martin Entlicher <mentlicher>
Severity: normal CC: issues, jlahoda
Priority: P3 Keywords: PERFORMANCE
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 202750
Attachments: stacktrace

Description Ondrej Vrabec 2013-08-02 08:05:15 UTC
This issue was reported manually by ovrabec.
It already has 1 duplicates 

Build: NetBeans IDE Dev (Build 20130729-3bf4ccccea72)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b15
OS: Linux

User Comments:
ovrabec: while debugging NetBeans and got down into JDK sources

java.lang.OutOfMemoryError: GC overhead limit exceeded
   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.addConditionWaiter(
   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(
   at java.util.concurrent.DelayQueue.take(
Comment 1 Ondrej Vrabec 2013-08-02 08:05:16 UTC
Created attachment 138169 [details]
Comment 2 Petr Cyhelsky 2013-08-02 08:28:24 UTC
there are 10 instances of symtab, please evaluate
Comment 3 Jan Lahoda 2013-08-02 08:55:22 UTC
I guess this can be split into two distinct problems:
-the javac instances are too big - same as bug #231565 IMO (exact cause unknown)
-8 of the 10 instances of javac appear to be held by the debugger - feels like a little bit too much.
Comment 4 Martin Entlicher 2013-08-15 17:02:48 UTC
It looks like parseWhenScanFinishedReallyLazy() is scheduled several times.
Comment 5 Martin Entlicher 2013-08-28 16:39:59 UTC
Fixed by changeset:   262927:098cb060d71d