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 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-08 09:31 UTC by Exceptions Reporter
Modified: 2016-11-08 09:31 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 227132


Attachments
stacktrace (1.05 KB, text/plain)
2016-11-08 09:31 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
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