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 269141 - 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.0
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-28 04:30 UTC by lokprakashpandey
Modified: 2016-11-28 04:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 227330


Attachments
stacktrace (2.09 KB, text/plain)
2016-11-28 04:30 UTC, lokprakashpandey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lokprakashpandey 2016-11-28 04:30:21 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) Client VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26
OS: Windows 8

User Comments:
lokprakashpandey: Java heap space ran out of memory when working on an array of 10 million integers performing quick sort




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.AbstractLines.getLine(AbstractLines.java:360)
Comment 1 lokprakashpandey 2016-11-28 04:30:23 UTC
Created attachment 163048 [details]
stacktrace