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 267449

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

Description Exceptions Reporter 2016-08-05 14:49:44 UTC
This bug was originally marked as duplicate of bug 242048, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b17
OS: Mac OS X

User Comments:
GUEST: My app suddenly re-deployed (although I hadn't requested this at all), but then NetBeans behaved weirdly and finally froze, and I wanted to end it gracefully for a restart. It closed, but the netbeans64.exe process didn't terminate. I had to kill the Tomcat process too. NetBeans was still alive and started another Tomcat process. I also killed it. Then NetBeans closed.

GUEST: No idea

GUEST: Unsure

GUEST: Wanted to clear output pane from the previous program run.

GUEST: Mp idea why this happens




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:422)
   at java.nio.CharBuffer.toString(CharBuffer.java:1241)
   at org.netbeans.core.output2.AbstractLines.getText(AbstractLines.java:202)
   at org.netbeans.core.output2.OutputDocument.getText(OutputDocument.java:177)
Comment 1 Exceptions Reporter 2016-08-05 14:49:46 UTC
Created attachment 161571 [details]
stacktrace