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 241449

Summary: OutOfMemoryError: Java heap space
Product: ide Reporter: kaznovac <kaznovac>
Component: Slowness DetectorAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 207315
Attachments: stacktrace

Description kaznovac 2014-02-05 14:40:42 UTC
Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_17-b02
OS: Linux

User Comments:
kaznovac: probably unrelated: update curl packages in ubuntu




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.lang.Class.getDeclaredMethods0(Class.java:0)
   at java.lang.Class.privateGetDeclaredMethods(Class.java:2531)
   at java.lang.Class.getMethod0(Class.java:2774)
   at java.lang.Class.isCheckMemberAccessOverridden(Class.java:2214)
   at java.lang.Class.checkMemberAccess(Class.java:2233)
   at java.lang.Class.getField(Class.java:1576)
Comment 1 kaznovac 2014-02-05 14:40:44 UTC
Created attachment 144837 [details]
stacktrace
Comment 2 Tomas Hurka 2014-02-06 13:34:33 UTC
OOME is cause by processing select statement, which returns a lot of results.
Retained size of java.util.ArrayList#59198 is 570M and this ArrayList contains
616141 instances of com.mysql.jdbc.ByteArrayRow

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