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 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: RESOLVED DUPLICATE of bug 241142
Alias: None
Product: ide
Classification: Unclassified
Component: Slowness Detector (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-05 14:40 UTC by kaznovac
Modified: 2014-02-06 13:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 207315


Attachments
stacktrace (1.20 KB, text/plain)
2014-02-05 14:40 UTC, kaznovac
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***