OutOfMemoryError:Java Heap Space on OEM 12c Agent

Sometimes we face issues like OEM agent 12c crashed and found the below error messages on gcagent.log[/agent_inst/sysman/log/gcagent.log].

Cause: When an OEM agent collects metrics data, it uses java memory. If it does not have access to the required amount of java memory which is specified in the configuration, the OEM agent may crash.

Solution:

1- Stop the agent using the below command.

emctl stop agent

2- Take a backup of the “ (more...)