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 230665

Summary: OutOfMemoryError: Java heap space
Product: editor Reporter: blackmen972
Component: Painting & PrintingAssignee: Miloslav Metelka <mmetelka>
Status: NEW ---    
Severity: normal CC: arg-on, banstola, dreappdev, kprovance, rweaver
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 181542
Attachments: stacktrace

Description blackmen972 2013-06-03 13:19:42 UTC
Build: NetBeans IDE 7.3 (Build 201302261559)
VM: OpenJDK 64-Bit Server VM, 20.0-b12, OpenJDK Runtime Environment, 1.6.0_27-b27
OS: Linux

User Comments:
GUEST: I was using "Find Usage" on Javascript object member

blackmen972: I opened a very big file more than 54 MB




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at org.netbeans.modules.editor.lib2.document.CharContent.reallocate(CharContent.java:234)
   at org.netbeans.modules.editor.lib2.document.CharContent.moveGapForInsert(CharContent.java:128)
   at org.netbeans.modules.editor.lib2.document.CharContent.insertText(CharContent.java:107)
   at org.netbeans.modules.editor.lib2.document.EditorDocumentContent.insertEdit(EditorDocumentContent.java:130)
   at org.netbeans.modules.editor.lib2.document.EditorDocumentContent.insertString(EditorDocumentContent.java:125)
   at org.netbeans.editor.BaseDocument.handleInsertString(BaseDocument.java:798)
Comment 1 blackmen972 2013-06-03 13:19:43 UTC
Created attachment 135269 [details]
stacktrace