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 243337 - OutOfMemoryError: Many OutputDocument$ODElement instances
Summary: OutOfMemoryError: Many OutputDocument$ODElement instances
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Output Window (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
: 248520 (view as bug list)
Depends on:
Reported: 2014-03-28 07:58 UTC by terje7601
Modified: 2014-11-14 10:49 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 208750

stacktrace (962 bytes, text/plain)
2014-03-28 07:58 UTC, terje7601

Note You need to log in before you can comment on or make changes to this bug.
Description terje7601 2014-03-28 07:58:10 UTC
Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b70, Java(TM) SE Runtime Environment, 1.8.0-b132
OS: Windows 7

User Comments:
terje7601: Developping a Java EE application in combination with a GlassFish Server

java.lang.OutOfMemoryError: GC overhead limit exceeded
   at java.util.Arrays.copyOf(
   at java.util.concurrent.CopyOnWriteArrayList.add(
   at org.netbeans.core.output2.LineInfo.addSegment(
   at org.netbeans.core.output2.AbstractLines.addSegment(
   at org.netbeans.core.output2.AbstractLines.updateLinesInfo(
   at org.netbeans.core.output2.OutWriter.print(
Comment 1 terje7601 2014-03-28 07:58:12 UTC
Created attachment 146365 [details]
Comment 2 Jaroslav Havlin 2014-04-04 14:30:03 UTC
Number of instances:

sun.awt.EventQueueItem                                2 651 703
java.awt.event.InvocationEvent                        2 651 642
org.netbeans.core.output2.OutputDocument$ODElement    2 244 913                    1 972 024[]                      1 971 921
org.netbeans.modules.glassfish.common.LogViewMgr$1      681 133

Maybe the limit on number of lines in Output Window should be decreased or made configurable.
Comment 3 Jaroslav Havlin 2014-11-14 10:49:17 UTC
*** Bug 248520 has been marked as a duplicate of this bug. ***