Spectrum OneClick server OutOfMemoryError: GC overhead limit exceeded

book

Article ID: 143868

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

Spectrum OneClick server OutOfMemoryError: GC overhead limit exceeded.

The following is seen in the $SPECROOT/tomcat/logs/stdout.log (Windows) catalina.out (Linux):

Wed Jan 22 12:34:28 EST 2020: Full thread dump

Exception in thread "Connect Thread host=spectrum port=14002 orb=721bd471" java.lang.OutOfMemoryError: GC overhead limit exceeded

 "PoolThread-1: GlobalPool => ClientLogPurgeCheckerTask" daemon prio=5 tid=162 runnable

        at org.jdom.DefaultJDOMFactory.element(DefaultJDOMFactory.java:138)

        at org.jdom.input.SAXHandler.startElement(SAXHandler.java:538)

        at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)

        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)

        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)

        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)

        at org.jdom.input.SAXBuilder.build(SAXBuilder.java:489)

        at com.aprisma.spectrum.app.web.util.XmlLogOutput.loadXmlDocument(XmlLogOutput.java:650)

        at com.aprisma.spectrum.app.web.util.XmlLogOutput.init(XmlLogOutput.java:164)

        at com.aprisma.spectrum.app.web.util.XmlLogOutput.<init>(XmlLogOutput.java:146)

        at com.aprisma.spectrum.app.web.util.ClientLog$ClientLogOutput.<init>(ClientLog.java:50)

        at com.aprisma.spectrum.app.web.util.ClientLog.<init>(ClientLog.java:74)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at com.aprisma.spectrum.app.util.context.ContextFactory.constructContextObject(ContextFactory.java:396)

        at com.aprisma.spectrum.app.util.context.ContextFactory.getContextObject(ContextFactory.java:159)

        at com.aprisma.spectrum.app.web.util.ClientLog.getLog(ClientLog.java:96)

        at com.aprisma.spectrum.app.web.util.ClientLog.getLogOutput(ClientLog.java:251)

        at com.aprisma.spectrum.app.web.util.ClientLog.purgeLog(ClientLog.java:286)

        at com.aprisma.spectrum.app.web.util.ClientLog$ClientLogPurgeCheckerTask.performTask(ClientLog.java:331)

        at com.aprisma.util.thread.ThreadPoolMonitor$TimedThreadTask.performTask(ThreadPoolMonitor.java:135)

        at com.aprisma.util.thread.CachedThread.run(CachedThread.java:116)

Cause

A large $SPECROOT/OCLogs/client.log file on the OneClick server

Environment

Release : Any

Component : Spectrum OneClick

Resolution

Shutdown the tomcat process on the OneClick system and then remove or rename the $SPECROOT/OCLogs/client.log file.

Restart tomcat on the OneClick server.

Additional Information

Increase the system memory and the Web Server memory for tomcat.