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.
This issue was reported manually by thurka. It already has 1 duplicates Build: NetBeans IDE 7.4 (Build 201310111528) VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b16 OS: Windows 7 User Comments: GUEST: Did an SQL query to a rather large database table. Stacktrace: java.lang.OutOfMemoryError: GC overhead limit exceeded at java.lang.String.toCharArray(String.java:2753) at java.lang.Thread.setName(Thread.java:1140) at org.openide.util.RequestProcessor.enqueue(RequestProcessor.java:619) at org.openide.util.RequestProcessor$TickTac.run(RequestProcessor.java:2243)
Created attachment 143745 [details] stacktrace
thurka, could you please state the database and if possible also the JDBC URL (if there is sensitive information, please replace it with some marker) you used when this happend?
OOME is caused by SQL query, which returns a lot of rows. Retained size of oracle.jdbc.driver.ScrollableResultSet#1 is 630M and there is 7,138,053 instances of oracle.jdbc.driver.CachedRowElement
Thank you Thomas, could you please check the connection properties? Make sure that you are not connected. I asume, that "Use scrollable cursors" is checked - please uncheck that option, connect and try again. This basicly disables the new scrollable cursor support (oracle jdbc driver simulates scrollable cursors and does not use the server). This looks like a duplicate of bug #239611.
(In reply to matthias42 from comment #2) > thurka, could you please state the database and if possible also the JDBC > URL (if there is sensitive information, please replace it with some marker) > you used when this happend? I am not the reporter. I am evaluation several OOME incorrectly grouped into one exception report. It looks like database is Oracle Database 11g Enterprise Edition Release 11.2.0.3.0
*** Bug 240137 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 239611 ***