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.
Build: NetBeans IDE Dev (Build nbms-and-javadoc-595-on-20160906) VM: OpenJDK 64-Bit Server VM, 25.101-b13, OpenJDK Runtime Environment, 1.8.0_101-b13 OS: Linux User Comments: AlxLy: SQL fetch without limit. GUEST: I've written a java class, that length was 2224 lines. I think it was the reason of falling down of NetBeans. Stacktrace: java.lang.OutOfMemoryError: GC overhead limit exceeded at java.lang.SecurityManager.getClassContext(SecurityManager.java:0) at org.netbeans.TopSecurityManager.checkWhetherAccessedFromSwingTransfer(TopSecurityManager.java:757) at org.netbeans.TopSecurityManager.checkPermission(TopSecurityManager.java:502) at java.awt.event.InputEvent.canAccessSystemClipboard(InputEvent.java:354) at java.awt.event.InputEvent.<init>(InputEvent.java:344) at java.awt.event.MouseEvent.<init>(MouseEvent.java:736)
Created attachment 162185 [details] stacktrace
Retained size of java.util.ArrayList#78263 is 736,187,693 bytes. This array list is created by "SQLStatementExecution" thread.
Various approaches were tried to limit memory utilization - the reasons were either bad jdbc drivers (fetching whole result instead of only the subset) or users trying to fetch the whole table.