Starting SAP Agent from command line results in Could not reserve enough space for object heap error

book

Article ID: 87178

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine AUTOMIC WORKLOAD AUTOMATION

Issue/Introduction

Error Message :
Error occurred during initialization of VM
Could not reserve enough space for object heap

When starting an SAP agent the above error message is seen as shown below.

<Please see attached file for image>

0EMb0000000IZ3r.png

This error is only seen when starting the agent from the command line. The service manager fails to start the agent with error 'No associated window can be found' with a exit code as 1.

The only way to identify this error is to start the agent from the command line.

Cause

Cause type:
By design
Root Cause: Additional RAM is needed for the Java VM.

Environment

OS: Windows
OS Version: N/A

Resolution

This error indicates the system does not have enough RAM to allocate to the Java virtual machine. The best long term solution is to add more RAM to the system. 

Fix Status: No Fix

Fix Version(s):
N/A

Additional Information

Workaround :
Restarting the Windows box may free up enough RAM to work around this issue.

Attachments

1558693605007000087178_sktwi1f5rjvs16mad.png get_app