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
URL:
Keywords:
: 248520 (view as bug list)
Depends on:
Blocks:
 
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


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

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




Stacktrace: 
java.lang.OutOfMemoryError: GC overhead limit exceeded
   at java.util.Arrays.copyOf(Arrays.java:3175)
   at java.util.concurrent.CopyOnWriteArrayList.add(CopyOnWriteArrayList.java:439)
   at org.netbeans.core.output2.LineInfo.addSegment(LineInfo.java:94)
   at org.netbeans.core.output2.AbstractLines.addSegment(AbstractLines.java:1141)
   at org.netbeans.core.output2.AbstractLines.updateLinesInfo(AbstractLines.java:1192)
   at org.netbeans.core.output2.OutWriter.print(OutWriter.java:597)
Comment 1 terje7601 2014-03-28 07:58:12 UTC
Created attachment 146365 [details]
stacktrace
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
java.security.AccessControlContext                    1 972 024
java.security.ProtectionDomain[]                      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. ***