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 268887

Summary: OutOfMemoryError: Java heap space
Product: editor Reporter: Exceptions Reporter <exceptions_reporter>
Component: Painting & PrintingAssignee: Miloslav Metelka <mmetelka>
Status: NEW ---    
Severity: normal CC: jwh, misterm
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 227132
Attachments: stacktrace

Description Exceptions Reporter 2016-11-08 09:31:46 UTC
This bug was originally marked as duplicate of bug 239360, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) Client VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Windows Server 2008

User Comments:
misterm: Opening a large file (976mb)

jwh: Opening large file

GUEST: 123

GUEST: normal working




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at org.netbeans.modules.editor.lib2.document.ReadWriteUtils.read(ReadWriteUtils.java:74)
   at org.netbeans.editor.BaseDocument.read(BaseDocument.java:1436)
   at org.netbeans.editor.BaseKit.read(BaseKit.java:668)
   at org.openide.text.DataEditorSupport.loadFromStreamToKit(DataEditorSupport.java:492)
   at org.openide.text.DocumentOpenClose$DocumentLoad.atomicLockedRun(DocumentOpenClose.java:764)
   at org.openide.text.DocumentOpenClose$DocumentLoad.run(DocumentOpenClose.java:615)
Comment 1 Exceptions Reporter 2016-11-08 09:31:48 UTC
Created attachment 162822 [details]
stacktrace