PIM Error doing a search: java.lang.OutOfMemoryError: GC overhead limit exceeded
search cancel

PIM Error doing a search: java.lang.OutOfMemoryError: GC overhead limit exceeded

book

Article ID: 273213

calendar_today

Updated On:

Products

CA Privileged Identity Management Endpoint (PIM) CA Privileged Access Manager - Server Control (PAMSC)

Issue/Introduction

java.lang.OutOfMemoryError: GC overhead limit exceeded

This error appears when running a search for all nodes in ENTM

How can we increase this memory in order this error does not occurs ?

Environment

Release : 14.0

Cause

When the results of the query are too big there is a problem and gives the error message above

The heap can be increased in wildfly for PAMSC or in jboss for PIM

Resolution

Navigate to C:\wildfly-15.0.1.Final\bin\

in standalone.conf.bat

we have settings so set the memory options
set "JAVA_OPTS=-Xms1024M -Xmx2048M -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=2048M"

similar to what i put below for jboss, this is for wildfly.

 

For Jboss go to jboss folder
run. bat
set JAVA_OPTS=%JAVA_OPTS% -Xms3072m -Xmx3072m

run_idm. bat
set JAVA_OPTS=%JAVA_OPTS% -Xms3072m -Xmx3072m -XX:NewSize=1536m -XX:MaxNewSize=1536m -XX:MaxPermSize=256m

If you have Xms and Xmx values change them to 3072m appending other parameters as above.