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
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
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


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

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.




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.util.Arrays.copyOf(Arrays.java:3332)
   at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:137)
   at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:121)
   at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:421)
   at java.lang.StringBuilder.append(StringBuilder.java:136)
   at org.netbeans.modules.editor.fold.FoldHierarchyTransactionImpl.<init>(FoldHierarchyTransactionImpl.java:199)
Comment 1 allisoncTimeless 2016-09-27 12:46:29 UTC
Created attachment 162242 [details]
stacktrace
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