java.lang.OutOfMemoryError: GC overhead limit exceeded
search cancel

java.lang.OutOfMemoryError: GC overhead limit exceeded

book

Article ID: 195685

calendar_today

Updated On:

Products

Workload Automation Agent

Issue/Introduction

The error can appear in one of many different logs. Below are just a few examples of where this error could appear. 

Error Examples:

  • sap_plugin.log
    07/22/2020 11:07:29.990 EDT-0400 1 SAPPlugin.Monitor:2233003268390945676.CybThreadGroup.uncaughtException[:73] - Thread Monitor:2233003268390945676[SAPPlugin] has had an uncaught exception
    07/22/2020 11:07:29.992 EDT-0400 1 SAPPlugin.Monitor:2233003268390945676.CybThreadGroup.uncaughtException[:80] - java.lang.OutOfMemoryError: GC overhead limit exceeded

  • defaultlog_agent.log
    02/24/2025 12:44:03.634-0500 1 TCP/IP Controller Plugin.Socket Listener for CybReceiverListener.CybThreadGroup.uncaughtException[:73] - Thread Socket Listener for CybReceiverListener[TCP/IP Controller Plugin] has had an uncaught exception
    02/24/2025 12:44:03.634-0500 1 TCP/IP Controller Plugin.Socket Listener for CybReceiverListener.CybThreadGroup.uncaughtException[:80] - java.lang.OutOfMemoryError: GC overhead limit exceeded

 

Environment

Release : 12.x, 24.x
Component : CA Workload Automation System Agent

Cause

There is not enough memory available for the agent and as a result, the agent hangs.

Resolution

Increase the amount of minimum and maximum memory for the agent JVM by setting the following anywhere in agentparm.txt file and recycle the agent.
Important: Ensure there is enough free physical memory available on the server to support the increase.

oscomponent.jvm.x.options=-Xms1G;-Xmx2G