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 267879 - OutOfMemoryError: GC overhead limit exceeded
Summary: OutOfMemoryError: GC overhead limit exceeded
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Output Window (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-05 06:07 UTC by median1st
Modified: 2016-09-05 06:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 208822


Attachments
stacktrace (1.91 KB, text/plain)
2016-09-05 06:07 UTC, median1st
Details

Note You need to log in before you can comment on or make changes to this bug.
Description median1st 2016-09-05 06:07:05 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16
OS: Linux

User Comments:
GUEST: Uploading Files

GUEST: Dunno.  

Was closing program, wouldn't close.  Force shut it down.

GUEST: ??

GUEST: ?

GUEST: Doing a SVN update on a project contected to a remote server via SFTP.

median1st: Not sure, because I didn't notice the trouble until alerted by NB. The OOM happened during load tests of a web application on Tomcat 8. During the tests the application was configured for really heavy logging, the log file grew to about 600MB during the testing period (10 to 15 minutes) and the log view in NB was open and following the log. The whole Tomcat server froze at a certain point completely, all threads waiting for ConsoleHandler. The time roughly correlated to the slowdown event, followed by OOM event reported by NB. 
In subsequent testing (after the Tomcat had been restarted, but NB hadn't) I kept clearing the log view periodically as soon as I started to notice the view to slow down following the log. The tests completed successfully this way.

GUEST: When my project was running for a long time, Crashed.

GUEST: Wildfly was running when I was making a break. After I returned ca. 20 minutes later I found this exception open.

GUEST: freeze

GUEST: <Please provide a description of the problem or the steps to reproduce>
it says the following down:
OutOfMemoryError: GC overhead limit exceeded




Stacktrace: 
java.lang.OutOfMemoryError: GC overhead limit exceeded
   at org.netbeans.core.output2.OutputDocument.getElement(OutputDocument.java:418)
   at org.netbeans.core.output2.ExtPlainView.getText(ExtPlainView.java:177)
   at org.netbeans.core.output2.ExtPlainView.getLineWidth(ExtPlainView.java:328)
   at org.netbeans.core.output2.ExtPlainView.updateDamage(ExtPlainView.java:357)
   at javax.swing.text.PlainView.changedUpdate(PlainView.java:477)
   at javax.swing.plaf.basic.BasicTextUI$RootView.changedUpdate(BasicTextUI.java:1638)
Comment 1 median1st 2016-09-05 06:07:08 UTC
Created attachment 161905 [details]
stacktrace