000033496 - How to change Java heap settings for RSA Via Lifecycle & Governance

Document created by RSA Customer Support Employee on Jul 20, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 3Show Document
  • View in full screen mode

Article Content

Article Number000033496
Applies ToRSA Product Set: RSA Via Lifecycle & Governance
RSA Version/Condition: 6.8.1 and higher
IssueThe following errors are showing up in the RSA Via L&G UI and aveksaServer.log:
java.lang.OutOfMemoryError: Java heap space 
java.lang.OutOfMemoryError: GC overhead limit exceeded
ResolutionFor JBoss, follow this steps:
  1. Login as root and navigate to /etc/init.d:
$ cd /etc/init.d

  1. Make a copy of aveksa_server for a backup:
$ cp aveksa_server aveksa_server.bkp

  1. Edit the aveksa_server file:
$ vi aveksa_server

  1. Locate the the following commented line: #JAVA_OPTS="-Xmx8192m -XX:MaxPermSize=1024M"
  2. Remove the # to uncomment this line.
  3. Adjust the -Xmx value to modify the heap size and save the changes.
  4. Restart the application server.