EM12c: emctl start agent Fails With ' Target Interaction Manager failed at Startup java.lang.OutOfMemoryError: Java heap space' reported in gcagent_errors.log (Doc ID 1902124.1)

Last updated on NOVEMBER 07, 2016

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.1.0 and later
Information in this document applies to any platform.

Symptoms

$agent_inst/bin/emctl start agent

fails with following error

Oracle Enterprise Manager Cloud Control 12c Release 3  
Copyright (c) 1996, 2013 Oracle Corporation.  All rights reserved.
Starting agent ..........Consult emctl.log and emagent.nohup in: /apps/oracle/product/12.1.0/agent12c/agent_inst/sysman/log

agent_inst/sysman/log/emagent.nohup reports the following message

2014-06-06 23:57:12,401 [1:main] WARN - Missing filename for log handler 'opsscfg'
Agent is going down due to an OutOfMemoryError
----- Fri Jun 6 23:57:48 2014::19217::Checking status of EMAgent : 20358 -----
----- Fri Jun 6 23:57:57 2014::19217::Checking status of EMAgent : 20358 -----
----- Fri Jun 6 23:57:57 2014::19217::EMAgent exited at Fri Jun 6 23:57:57 2014 with return value 57. -----
----- Fri Jun 6 23:57:57 2014::19217::EMAgent will be restarted because of an Out of Memory Exception. -----
----- Fri Jun 6 23:57:57 2014::19217::Restarting EMAgent. -----

agent_inst/sysman/log/gcagent.error reports the following error

2014-06-07 12:43:14,364 [1:main] FATAL - Fatal error: Target Interaction Manager failed at Startup
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2882)
at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390)
at java.lang.StringBuffer.append(StringBuffer.java:224)
at oracle.sysman.gcagent.target.interaction.execution.Threshold.mergeState(Threshold.java:1848)

 

 

 

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