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 211550

Summary: OutOfMemoryError: GC overhead limit exceeded
Product: webservices Reporter: sunbiz <sunbiz>
Component: RESTAssignee: Denis Anisimov <ads>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 187260
Attachments: stacktrace

Description sunbiz 2012-04-21 13:20:59 UTC
Build: NetBeans IDE Dev (Build 201204160400)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.6-b01, Java(TM) SE Runtime Environment, 1.6.0_31-b05
OS: Windows 7

User Comments:
sunbiz: Creating new REST services from Entity classes and got this exception




Stacktrace: 
java.lang.OutOfMemoryError: GC overhead limit exceeded
   at com.sun.tools.javac.util.List.of(List.java:89)
   at com.sun.tools.javac.jvm.ClassReader.sigToTypes(ClassReader.java:808)
   at com.sun.tools.javac.jvm.ClassReader.sigToType(ClassReader.java:674)
   at com.sun.tools.javac.jvm.ClassReader.sigToType(ClassReader.java:596)
   at com.sun.tools.javac.jvm.ClassReader.readType(ClassReader.java:540)
   at com.sun.tools.javac.jvm.ClassReader.readMethod(ClassReader.java:1790)
Comment 1 sunbiz 2012-04-21 13:21:05 UTC
Created attachment 118594 [details]
stacktrace
Comment 2 Dusan Balek 2012-04-23 10:09:16 UTC
As can be seen from the attached heap dump, more than 60 instances of javac compiler are held via EntityResourceModelBuilder.allEntitiesClassInfoMap. Reassigning.
Comment 3 Denis Anisimov 2012-04-27 09:37:16 UTC
web-main#e213d68c51ad
Comment 4 Quality Engineering 2012-05-01 09:56:28 UTC
Integrated into 'main-golden', will be available in build *201205010400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/e213d68c51ad
User: Denis Anisimov <ads@netbeans.org>
Log: Fix for BZ#211550 - OutOfMemoryError: GC overhead limit exceeded