My Oracle Support Banner

EM12c: Deploy And Secure Agent fails with "\'Out Of Memory' Errors ,'dfw.impl.common.TempFileManager' (Doc ID 1540011.1)

Last updated on APRIL 14, 2018

Applies to:

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


Deploying agent on RAC node(s)  failed at secure stage,

Error = Execution of command /gridagent/agent12c/agent_inst/bin/emctl start
agent on host Failed
Cause = Exit Code :1

Executing "$./emctl secure agent" command manually getting  the following errors:

Oracle Enterprise Manager 12c Cloud Control
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
Agent is already stopped... Done.
Securing agent... Started.
Enter Agent Registration Password :
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at java.lang.StringCoding$StringDecoder.decode(
at java.lang.StringCoding.decode(
oracle.sysman.gcagent.comm.http.LocalSecurityContext.<init>(LocalSecurityConte     at oracle.sysman.gcagent.clients.emdctlj.EmdCtl.main(
Securing agent...   Successful.

From AGENT_INST/sysman/log/gcagent.log

2013-01-29 12:17:16,009 [1:3305B9] DEBUG - Invoking STARTUP_P1 (1) on Logging
2013-01-29 12:26:18,836 [10:8DFFF7E4:InitDFWHelper_0] WARN - Couldn't
initialize the DFW, no incidents will be created: Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.nio.ByteBuffer.wrap(
at java.lang.StringCoding$StringDecoder.decode(
at java.lang.StringCoding.decode(
at java.lang.String.<init>(
at java.lang.String.<init>(
at Method)
at oracle.dfw.impl.common.AccessCheck$
at oracle.dfw.impl.common.AccessCheck$
at Method)
at oracle.dfw.impl.common.AccessCheck.listFiles(
at oracle.dfw.impl.common.TempFileManager.<clinit>(


From AGENT_INST/sysman/log/secure.log

2013-01-10 09:40:15,608 [main] INFO  agent.SecureAgentCmd secureAgent.280 -
Configuring Agent for HTTPS
2013-01-10 09:40:15,618 [main] INFO  agent.SecureAgentCmd main.207 -
Successfully secured the Agent.
[10-01-2013 09:44:13] USERINFO ::Securing agent...   Successful



To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.