OMC: Oracle Management Cloud Agent Crashes after Upgrade to Version 1.21.0

(Doc ID 2322444.1)

Last updated on NOVEMBER 04, 2017

Applies to:

OMC Infrastructure Monitoring Cloud Service - Version N/A to N/A [Release 1.0]
Information in this document applies to any platform.

Symptoms

After cloud agent upgraded to "1.21.0", one cloud agent is stopped suddenly after 20 minutes. After restart, the agent is stopped again after 20 minutes.

From the <Agent instance base>/agent_inst/sysma/log/gcagent.log:

2017-09-27 08:52:45,200 [110:GC.SysExecutor.7 (LogCollector_os_file)] ERROR - Critical error:
java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(Arrays.java:2367)
        at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130)
        at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:114)
        at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:415)
        at java.lang.StringBuilder.append(StringBuilder.java:132)
        at oracle.sysman.emaas.logcollector.xmlutil.XMLFormatter.makeContent(XMLFormatter.java:199)
        at oracle.sysman.emaas.logcollector.xmlutil.XMLFormatter.getElementString(XMLFormatter.java:173)
        at oracle.sysman.emaas.logcollector.wrapper.FilesType.getXMLString(FilesType.java:75)
        at oracle.sysman.emaas.logcollector.wrapper.OutcomingStatusInfo.getXMLString(OutcomingStatusInfo.java:88)
        at oracle.sysman.emaas.logcollector.wrapper.OutcomingStatusInfo.toXMLString(OutcomingStatusInfo.java:97)
        at oracle.sysman.emaas.logcollector.xmlutil.FileStatusManager.update2Disk(FileStatusManager.java:183)
        at oracle.sysman.emaas.logcollector.util.OutputUtil.save(OutputUtil.java:181)
        at oracle.sysman.emaas.logcollector.xmlutil.LCHandlerHelper.writeMessage(LCHandlerHelper.java:146)
        at oracle.sysman.emaas.logcollector.xmlutil.LCHandlerHelper.endLS(LCHandlerHelper.java:128)
        at oracle.sysman.emaas.logcollector.handler.EntryHandler.handleFile(EntryHandler.java:393)
        at oracle.sysman.emaas.logcollector.handler.EntryHandler.handleByStatus(EntryHandler.java:379)
        at oracle.sysman.emaas.logcollector.handler.EntryHandler.handle(En

 

 

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms