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

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 :)

java.lang.OutOfMemoryError: Java heap space
   at java.util.Arrays.copyOfRange(
   at java.lang.String.<init>(
   at org.netbeans.modules.editor.lib2.document.ReadWriteUtils.convertToNewlines(
   at org.netbeans.editor.BaseDocument.handleInsertString(
   at org.netbeans.editor.BaseDocument.insertString(
Comment 1 drazisil 2013-11-17 08:37:03 UTC
Created attachment 142277 [details]
Comment 2 jeffreymb 2014-03-25 13:00:42 UTC
Created attachment 146307 [details]

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...