ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

GMU Execution failed. Reason: Java heap space

book

Article ID: 111947

calendar_today

Updated On:

Products

STARTER PACK-7 CA Rapid App Security CA API Gateway

Issue/Introduction

The GMU (Gateway Migration Utility) uses Java. 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. 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.