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 256089 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
: 256111 262267 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-10-22 06:03 UTC by Exceptions Reporter
Modified: 2016-09-02 01:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 220694


Attachments
stacktrace (2.05 KB, text/plain)
2015-10-22 06:03 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-10-22 06:03:42 UTC
Build: NetBeans IDE 8.1 RC2 (Build 201510122201)
VM: OpenJDK 64-Bit Server VM, 24.79-b02, OpenJDK Runtime Environment, 1.7.0_79-b14
OS: Linux

User Comments:
GUEST: just you know, trying to use netbeans, but it won't let me




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.util.Arrays.copyOf(Arrays.java:2367)
   at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130)
   at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:114)
   at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:415)
   at java.lang.StringBuilder.append(StringBuilder.java:132)
   at org.netbeans.modules.cnd.debugger.gdb2.mi.MIResult.toString(MIResult.java:69)
Comment 1 Exceptions Reporter 2015-10-22 06:03:44 UTC
Created attachment 156894 [details]
stacktrace
Comment 2 Alexander Simon 2015-10-27 10:14:29 UTC
300M in org.netbeans.modules.cnd.debugger.gdb2.Tap which has
two 150M string builders (interceptBuffer and toTermBuf).

86M in org.netbeans.modules.cnd.debugger.gdb2.mi.MIParser (in str field)
Comment 3 Alexander Simon 2016-01-20 07:27:24 UTC
*** Bug 256111 has been marked as a duplicate of this bug. ***
Comment 4 Alexander Simon 2016-09-01 09:39:59 UTC
*** Bug 262267 has been marked as a duplicate of this bug. ***
Comment 5 Alexander Simon 2016-09-01 12:18:38 UTC
fixed, change set:
https://hg.netbeans.org/cnd-main/summary
Comment 6 Quality Engineering 2016-09-02 01:58:07 UTC
Integrated into 'main-silver', will be available in build *201609020002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/13e29795e1b9
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #256089 OutOfMemoryError: Java heap space