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 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Output Window (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-05 14:49 UTC by Exceptions Reporter
Modified: 2016-08-05 14:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 225631


Attachments
stacktrace (2.50 KB, text/plain)
2016-08-05 14:49 UTC, Exceptions Reporter
Details

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