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 241108

Summary: OutOfMemoryError: GC overhead limit exceeded
Product: db Reporter: Exceptions Reporter <exceptions_reporter>
Component: MySQLAssignee: Libor Fischmeistr <lfischmeistr>
Status: RESOLVED INCOMPLETE    
Severity: normal CC: jhavlin
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 207075
Attachments: stacktrace

Description Exceptions Reporter 2014-01-29 11:40:26 UTC
This issue was reported manually by jhavlin.
It already has 1 duplicates 


Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Windows 7

User Comments:
GUEST: system was hibernated with netbeans running.
started netbeans in morning, closed netbeans, started netbeans.
got this error.




Stacktrace: 
java.lang.OutOfMemoryError: GC overhead limit exceeded
   at java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1528)
   at java.lang.Class.checkPackageAccess(Class.java:2265)
   at java.lang.Class.checkMemberAccess(Class.java:2245)
   at java.lang.Class.getDeclaredFields(Class.java:1805)
   at com.sun.jna.Structure.getFields(Structure.java:769)
   at com.sun.jna.Structure.deriveLayout(Structure.java:867)
Comment 1 Exceptions Reporter 2014-01-29 11:40:27 UTC
Created attachment 144523 [details]
stacktrace
Comment 2 Jaroslav Havlin 2014-01-29 11:52:53 UTC
The biggest object in the heap dump is an ArrayList that contains 540 thousand items of type com.mysql.jdbc.ByteArrayRow (size of the list is 649 MB).

So the problem is probably somewhere in MySQL JDBC driver or NetBeans Database support.

Did you run some SQL query? Can you please try to reproduce the bug?
If you can reproduce it, please try toggling Scrollable Cursors support (Services tab -> Databases -> right-click the DB connection -> Properties -> (un)check Use scrollable cursors).

Closing for now. Please provide any additional information and reopen this issue. Thank you.