CA API Gateway - Policy manager OutOfMemoryError: Java heap space

book

Article ID: 195543

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

Under certain circumstances the CA API Gateway Policy Manager may exhibit heap memory issues as described below:

Memory Usage: 176,055,672 bytes: the amount of free memory in the Java Virtual Machine. 259,522,560 bytes: the total amount of memory in the Java virtual machine.
Stack Trace: java.lang.RuntimeException: java.lang.OutOfMemoryError: Java heap space
at com.l7tech.util.ExceptionUtils.wrap(Unknown Source)
at com.l7tech.console.poleditor.PolicyEditorPanel.validateAndDisplay(Unknown Source)
at com.l7tech.console.poleditor.PolicyEditorPanel.validatePolicy(Unknown Source)
at com.l7tech.console.poleditor.PolicyEditorPanel.validatePolicy(Unknown Source)

Cause

This can be caused by Policy Manager Java Heap issues

Environment

Release : 9.x

Component : API GATEWAY

Resolution

Uninstalling and reinstalling the CA API Gateway Policy Manager has been shown to resolve this Java Heap Memory issue.

Please also ensure that you are using the Policy Manager version appropriate to your version of the Gateway.