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
Depends on:
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

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

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

java.lang.OutOfMemoryError: Java heap space
   at java.util.Arrays.copyOf(
   at java.lang.String.<init>(
   at java.nio.DirectCharBufferRS.toString(
   at java.nio.CharBuffer.toString(
   at org.netbeans.core.output2.AbstractLines.getText(
   at org.netbeans.core.output2.OutputDocument.getText(
Comment 1 Exceptions Reporter 2016-08-05 14:49:46 UTC
Created attachment 161571 [details]