Policy Manager Not Launching
search cancel

Policy Manager Not Launching

book

Article ID: 210622

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

Trying to launch policy manager by double clicking 'Layer7 API Gateway Policy Manager.exe' and nothing happens, the policy manager application does not start up.

If I try to execute the 'Layer7 API Gateway Policy Manager.bat' file from a dos prompt I will see the following kind of error:

Error occurred during initialization of VM
Could not reserve enough space for 1048576KB object heap
Layer7 API Gateway Policy Manager has finished.  Its final log messages are shown above.
Press any key to continue . . .

Environment

Policy Manager running on Windows

Cause

The policy manager application is not able to obtain enough memory per the current configuration and fails to load.

Resolution

Modify the default -xmx value which policy manager is using to a lower value as follows:

-In the policy manager install folder, there should be an ini file such as 'Layer7 API Gateway Policy Manager.ini'


-Open the ini file with a text editor, you should see the option -Xmx, which specifies the max heap size and which is probably currently set to something such as:   -Xmx1024M


-Change that value to -Xmx512M
save the ini file, and launch the policy manager again and see if it starts up successfully.

If you still get the same error, then you can half the size once again to -Xmx256M and see if that enables policy manager to start up.