My Oracle Support Banner

EM12c: gcagent_errors.log に ' Target Interaction Manager failed at Startup java.lang.OutOfMemoryError: Java heap space' を出力し、emctl start agent が失敗する (Doc ID 2277113.1)

Last updated on APRIL 30, 2018

適用範囲:

Enterprise Manager Base Platform - バージョン 12.1.0.1.0 以降
この文書の内容はすべてのプラットフォームに適用されます。
本文書利用上のご注意
  本文書は英語の文書 <Document 1902124.1> (最終メジャー更新日: 2016年11月07日) の日本語翻訳版です。
  英語の文書のメジャー更新に応じて本文書を随時更新いたします。

現象

$agent_inst/bin/emctl start agent

が以下のエラーで失敗します

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 は以下のメッセージを出力します

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 は以下のエラーを出力します

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)

 

 

 

原因

To view full details, 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 a vibrant support community of peers and Oracle experts.