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 248005 - OutOfMemoryError: Large LinesImpl instances
Summary: OutOfMemoryError: Large LinesImpl instances
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Output Window (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-17 17:25 UTC by Exceptions Reporter
Modified: 2015-10-29 12:28 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 212806


Attachments
stacktrace (1.04 KB, text/plain)
2014-10-17 17:25 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-10-17 17:25:46 UTC
This bug was originally marked as duplicate of bug 239445, 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.0.1 (Build 201408251540)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.72-b04, Java(TM) SE Runtime Environment, 1.7.0_72-b14
OS: Linux

User Comments:
GUEST: deploying with glassfish and edition.

GUEST: Don't remember

s_fuhrm: Another OOME after starting with JDK 8.




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at org.netbeans.core.output2.IntListSimple.growArray(IntListSimple.java:98)
   at org.netbeans.core.output2.IntListSimple.add(IntListSimple.java:63)
   at org.netbeans.core.output2.AbstractLines.updateFolds(AbstractLines.java:831)
   at org.netbeans.core.output2.AbstractLines.lineUpdated(AbstractLines.java:797)
   at org.netbeans.core.output2.OutWriter.write(OutWriter.java:221)
   at org.netbeans.core.output2.OutWriter.doWrite(OutWriter.java:501)
Comment 1 Exceptions Reporter 2014-10-17 17:25:48 UTC
Created attachment 149964 [details]
stacktrace
Comment 2 Exceptions Reporter 2014-12-05 01:13:17 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=212806
Comment 3 Jaroslav Havlin 2014-12-06 15:39:24 UTC
Heap dump shows that there are some output tabs with large number (millions) of lines.
Comment 4 Jaroslav Havlin 2015-10-29 12:28:24 UTC
Fix for bug 236507 should solve this problem.
Please reopen if you can reproduce the issue in NetBeans 8.1.
Thank you for reporting.