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 236467 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: RESOLVED DUPLICATE of bug 232547
Alias: None
Product: platform
Classification: Unclassified
Component: Output Window (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-27 12:58 UTC by ekanovi11
Modified: 2013-09-30 14:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 186458


Attachments
stacktrace (2.55 KB, text/plain)
2013-09-27 12:58 UTC, ekanovi11
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ekanovi11 2013-09-27 12:58:02 UTC
Build: NetBeans IDE 7.4 RC1 (Build 201309162201)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.0-b56, Java(TM) SE Runtime Environment, 1.7.0_40-b43
OS: Windows 7

User Comments:
GUEST: debug NBP app. Running eclipselink save entity with a lot of output provided in output window

ekanovi11: Java heap space

GUEST: Copying a large piece of text. from the Job Output window, from a stopped job execution.




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.util.Arrays.copyOf(Arrays.java:2367)
   at java.lang.String.<init>(String.java:168)
   at java.nio.DirectCharBufferRS.toString(DirectCharBufferRS.java:416)
   at java.nio.CharBuffer.toString(CharBuffer.java:1201)
   at org.netbeans.core.output2.AbstractLines.getText(AbstractLines.java:202)
   at org.netbeans.core.output2.OutputDocument.getText(OutputDocument.java:173)
Comment 1 ekanovi11 2013-09-27 12:58:03 UTC
Created attachment 140551 [details]
stacktrace
Comment 2 Jaroslav Havlin 2013-09-30 14:23:11 UTC
The OutOfMemory error is a complex problem, but a lot of LineInfo objects consumed
several megabytes of memory, so marking as duplicate of 232547.
Thanks for reporting.

*** This bug has been marked as a duplicate of bug 232547 ***