GMU Execution failed. Reason: Java heap space
search cancel

GMU Execution failed. Reason: Java heap space

book

Article ID: 111947

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

The GMU (Gateway Migration Utility) uses a part of the system memory as Java heap space. If you are using a Windows machine to run the utility, you will notice the amount of Java memory increasing while the utility is running. You can observe this via task manager.

The utility may stop at the same point in memory usage every time with the following error:

Execution failed. Reason: Java heap space.

The machine may have a lot of memory but be limited on Java Memory

Environment

Windows

Resolution

Check the max amount of Java memory allocated to the machine.

For Windows:

java -XX:+PrintFlagsFinal -version | findstr HeapSize

Look at the MaxHeapSize value from the above command output. For example :

uintx MaxHeapSize = 4280287232

If you have a significantly lower value than the above, your overall memory allocation to the machine may need to be increased and/or your Java settings modified to increase the Max Java Heap size.