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 270228 - 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.2
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
Depends on:
Reported: 2017-03-28 11:10 UTC by Zank
Modified: 2017-03-28 11:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 205264

stacktrace (2.67 KB, text/plain)
2017-03-28 11:10 UTC, Zank

Note You need to log in before you can comment on or make changes to this bug.
Description Zank 2017-03-28 11:10:25 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.91-b14, Java(TM) SE Runtime Environment, 1.8.0_91-b14
OS: Windows 7

User Comments:
GUEST: I have 5 files open. Then NetBeans stopped responding and the CPU usage became very high. So I forced quit the app.

GUEST: Had nb open for a few days and it quit responding.

GUEST: Netbeans got stuck and had to kill it from windows task manager

GUEST: viewing large php file (10000+ lines)

GUEST: Changed a file from RO to RW outside of NetBeans, switched back to NetBeans, and NetBeans started consuming 100% CPU time and wouldn't respond to user input. Killed it after 5 minutes.


GUEST: revert 20000 lines of js code from history

GUEST: tried to open *.json file which is more than 6MB in space.

GUEST: Debugging c/c++ exe

Zank: Error occured when I try to paste array made from 1,8kk characters.

GUEST: I tryied to update my project to head while I was Debuging it

GUEST: big xml file 70 MB

java.lang.OutOfMemoryError: Java heap space
   at org.netbeans.modules.editor.lib2.highlighting.HighlightsList.add(
   at org.netbeans.modules.editor.lib2.highlighting.HighlightsReader.readUntil(
   at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.restart(
   at org.netbeans.modules.editor.lib2.view.ViewBuilder$FactoryState.init(
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.createViews(
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.createReplaceRepaintViews(
Comment 1 Zank 2017-03-28 11:10:27 UTC
Created attachment 163967 [details]