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 268234 - 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.0
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
Depends on:
Reported: 2016-09-27 12:46 UTC by allisoncTimeless
Modified: 2016-12-08 10:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 212784

stacktrace (1.20 KB, text/plain)
2016-09-27 12:46 UTC, allisoncTimeless

Note You need to log in before you can comment on or make changes to this bug.
Description allisoncTimeless 2016-09-27 12:46:25 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) Client VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b18
OS: Windows 7

User Comments:
GUEST: Editing a css file and the program froze.

allisoncTimeless: Working with large file

GUEST: I used the application all day to debug javascript code.

GUEST: Developing with Chrome Developer Tools, changing several values repeatedly.

java.lang.OutOfMemoryError: Java heap space
   at java.util.Arrays.copyOf(
   at java.lang.AbstractStringBuilder.expandCapacity(
   at java.lang.AbstractStringBuilder.ensureCapacityInternal(
   at java.lang.AbstractStringBuilder.append(
   at java.lang.StringBuilder.append(
   at org.netbeans.modules.editor.fold.FoldHierarchyTransactionImpl.<init>(
Comment 1 allisoncTimeless 2016-09-27 12:46:29 UTC
Created attachment 162242 [details]
Comment 2 Svata Dedic 2016-12-08 10:48:42 UTC
Report #806997 shows multiple references to ExtCaret (which was replaced in 8.2) and BaseTextUI - that part might prevail, but similar issue is not reported against later releases (all reports are against 8.0.2 or earlier).

In report #831804, multiple instances of BaseTextUI can be seen as well - and also OffsetsBag$DocL listener attached to the document - some leak in highlighting ?

Reassigning to editor / painting