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 257214

Summary: OutOfMemoryError: Java heap space
Product: platform Reporter: Marky73
Component: Output WindowAssignee: Jaroslav Havlin <jhavlin>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 205350
Attachments: stacktrace

Description Marky73 2015-12-18 17:26:21 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.65-b01, Java(TM) SE Runtime Environment, 1.8.0_65-b17
OS: Windows 7

User Comments:
Marky73: <Please provide a description of the problem or the steps to reproduce>

GUEST: run debugger and an message in netbeans status bar was showing "low amount of memory"

GUEST: Was doing some testing and printing an array elements, comma separated values, no line change. Got an out of memory exception on netbeans after the line grew too long.

GUEST: d

GUEST: Froze

GUEST: programs continued running in the background even though i had killed them, my program had stalled and there was no way to close it without closing the entire IDE

GUEST: -




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.util.Arrays.copyOf(Arrays.java:3332)
   at java.lang.String.<init>(String.java:166)
   at java.nio.DirectCharBufferRS.toString(DirectCharBufferRS.java:426)
   at java.nio.CharBuffer.toString(CharBuffer.java:1241)
   at org.netbeans.core.output2.AbstractLines.getText(AbstractLines.java:202)
   at org.netbeans.core.output2.AbstractLines.getLine(AbstractLines.java:360)
Comment 1 Marky73 2015-12-18 17:26:23 UTC
Created attachment 157848 [details]
stacktrace