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 243450 - OutOfMemoryError: GC overhead limit exceeded
Summary: OutOfMemoryError: GC overhead limit exceeded
Status: RESOLVED DUPLICATE of bug 241142
Alias: None
Product: db
Classification: Unclassified
Component: MySQL (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
: 243850 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-04-01 13:31 UTC by kwoodle
Modified: 2014-10-06 21:58 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 207454


Attachments
stacktrace (548 bytes, text/plain)
2014-04-01 13:31 UTC, kwoodle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kwoodle 2014-04-01 13:31:35 UTC
Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11
OS: Windows 7

User Comments:
kwoodle: select * from db.table never returns when acting on db shown in Services Window. Returns when limit no of rows. Increased packet size from 4 MB to 10 MB

GUEST: Background scanning... I really only have to turn NetBeans on to produce this error. I assume it has something to do with Action Items/CodeSniffer/MessDetectorbecause this error only occured after I set the scope for these items to package, and it started occuring after that. I have, however, set the scope back to file. This has had no effect on the occurance of the error.




Stacktrace: 
java.lang.OutOfMemoryError: GC overhead limit exceeded
   at java.lang.Class.getDeclaredMethods0(Class.java:0)
   at java.lang.Class.privateGetDeclaredMethods(Class.java:2451)
   at java.lang.Class.getMethod0(Class.java:2694)
   at java.lang.Class.getMethod(Class.java:1622)
   at org.openide.util.WeakListenerImpl$ListenerReference.getRemoveMethod(WeakListenerImpl.java:615)
   at org.openide.util.WeakListenerImpl$ListenerReference.run(WeakListenerImpl.java:573)
Comment 1 kwoodle 2014-04-01 13:31:37 UTC
Created attachment 146473 [details]
stacktrace
Comment 2 Petr Cyhelsky 2014-04-04 09:00:34 UTC
caused by executing select * from some big database which returns huge amount of data (in one of the heap dumps there are ~2.1M results in one ArrayList)
Comment 3 matthias42 2014-08-13 12:20:34 UTC
*** Bug 243850 has been marked as a duplicate of this bug. ***
Comment 4 matthias42 2014-10-06 21:58:54 UTC
Comment 2 from Petr Cyhelsky  points to most probable cause: To many rows are fetched by the JDBC driver. Closing as duplicate.

*** This bug has been marked as a duplicate of bug 241142 ***