The 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
For JBoss, follow this steps:
- Login as root and navigate to /etc/init.d:
$ cd /etc/init.d
- Make a copy of aveksa_server for a backup:
$ cp aveksa_server aveksa_server.bkp
- Edit the aveksa_server file:
$ vi aveksa_server
- Locate the the following commented line: #JAVA_OPTS="-Xmx8192m -XX:MaxPermSize=1024M"
- Remove the # to uncomment this line.
- Adjust the -Xmx value to modify the heap size and save the changes.
- Restart the application server.