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 241410 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: RESOLVED DUPLICATE of bug 241408
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: henk89
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-04 21:46 UTC by tbrunhoff
Modified: 2014-02-07 08:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 207289


Attachments
stacktrace (1.22 KB, text/plain)
2014-02-04 21:46 UTC, tbrunhoff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tbrunhoff 2014-02-04 21:46:33 UTC
Build: NetBeans IDE Dev (Build 201402040001)
VM: Java HotSpot(TM) Client VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Linux

User Comments:
tbrunhoff: running out of memory in java while debugging. see bug #241409




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.util.Arrays.copyOfRange(Arrays.java:2694)
   at java.lang.String.<init>(String.java:203)
   at java.lang.StringBuilder.toString(StringBuilder.java:405)
   at org.netbeans.modules.cnd.debugger.gdb2.mi.MITList.toString(MITList.java:99)
   at org.netbeans.modules.cnd.debugger.gdb2.GdbDebuggerImpl.setStackWithArgs(GdbDebuggerImpl.java:2251)
   at org.netbeans.modules.cnd.debugger.gdb2.GdbDebuggerImpl.access$3100(GdbDebuggerImpl.java:132)
Comment 1 tbrunhoff 2014-02-04 21:46:35 UTC
Created attachment 144803 [details]
stacktrace
Comment 2 Alexander Simon 2014-02-06 08:13:57 UTC
150Mb in org.netbeans.modules.cnd.debugger.gdb2.Tap.toTermBuf
150Mb in org.netbeans.modules.cnd.debugger.gdb2.Tap.interceptBuffer

104Mb in org.netbeans.modules.cnd.debugger.gdb2.mi.MIParser

34M*2b in org.netbeans.modules.cnd.debugger.gdb2.GdbVariable.value
34*3Mb in org.netbeans.modules.cnd.debugger.gdb2.mi.MIConst.value

......
Comment 3 Maria Tishkova 2014-02-07 08:17:58 UTC

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