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 221137 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: RESOLVED INCOMPLETE
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-30 23:23 UTC by scanti
Modified: 2012-11-08 17:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 183510


Attachments
stacktrace (1.51 KB, text/plain)
2012-10-30 23:23 UTC, scanti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description scanti 2012-10-30 23:23:45 UTC
Build: NetBeans IDE 7.2.1 (Build 201210100934)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.5-b02, Java(TM) SE Runtime Environment, 1.7.0_09-b05
OS: Windows 7

User Comments:
scanti: Opened a 30+Mb text files




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.util.Arrays.copyOfRange(Arrays.java:2694)
   at java.lang.String.<init>(String.java:203)
   at org.netbeans.modules.editor.lib2.document.ReadWriteUtils.convertToNewlines(ReadWriteUtils.java:140)
   at org.netbeans.editor.BaseDocument.handleInsertString(BaseDocument.java:783)
   at org.netbeans.editor.BaseDocument.insertString(BaseDocument.java:765)
   at org.netbeans.editor.BaseDocument.read(BaseDocument.java:1408)
Comment 1 scanti 2012-10-30 23:23:47 UTC
Created attachment 126808 [details]
stacktrace
Comment 2 Milutin Kristofic 2012-11-08 17:08:09 UTC
Both heapdumps are corrupted.