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 238474

Summary: OutOfMemoryError: Java heap space
Product: editor Reporter: drazisil
Component: Painting & PrintingAssignee: Miloslav Metelka <mmetelka>
Status: NEW ---    
Severity: normal CC: jeffreymb, rawiabh
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 205346
Attachments: stacktrace
stacktrace

Description drazisil 2013-11-17 08:37:01 UTC
This bug was originally marked as duplicate of bug 221137, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201311160002)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Windows 7

User Comments:
GUEST: ?????? ??????

drazisil: Opening a huge file after being warned not to :)




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:162)
   at org.netbeans.editor.BaseDocument.handleInsertString(BaseDocument.java:775)
   at org.netbeans.editor.BaseDocument.insertString(BaseDocument.java:757)
   at org.netbeans.editor.BaseDocument.read(BaseDocument.java:1452)
Comment 1 drazisil 2013-11-17 08:37:03 UTC
Created attachment 142277 [details]
stacktrace
Comment 2 jeffreymb 2014-03-25 13:00:42 UTC
Created attachment 146307 [details]
stacktrace

I didn't notice that anything happened. I restarted my machine at the end of the day yesterday and maybe it crashed while shutting down...