"java.lang.RuntimeException: java.lang.OutOfMemoryError: Java heap space" errors occur frequently in versions 6.x of RSA Identity Governance & Lifecycle
Originally Published: 2020-04-18
Article Number
Applies To
RSA Version/Condition: 6.x
Platform/Application Server: JBoss
Issue
java.lang.RuntimeException: java.lang.OutOfMemoryError: Java heap space
Cause
This is a known issue reported in engineering ticket ACM-53163.
Resolution
Workaround
- Login to the server as the oracle user
- Backup and edit the ejb3-interceptors-aop.xml file:
cd home/oracle/jboss-4.2.2.GA/server/default/deploy/ejb3-interceptors-aop.xml cp ejb3-interceptors-aop.xml ejb3-interceptors-aop.xml.backup_<date> vi ejb3-interceptors-aop.xml
- Modify this section:
FROM:
<domain name="Stateless Bean"> ... <annotation expr="!class(@org.jboss.annotation.ejb.PoolClass)"> @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class, maxSize=30, timeout=10000) </annotation> </domain>
TO: (Note the change is highlighted in bold)
<domain name="Stateless Bean"> ... <annotation expr="!class(@org.jboss.annotation.ejb.PoolClass)"> @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.StrictMaxPool.class, maxSize=30, timeout=10000) </annotation> </domain>
Note there are several references to org.jboss.ejb3.ThreadlocalPool.class in the file. The change is only required to the Stateless Bean section.
- Restart RSA Identity Governance & Lifecycle:
acm restart
Related Articles
Report preview and/or generation fails with 'java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11Graphic… 147Number of Views "Unknown action field" failure while running AMBA Actions 27Number of Views How users are selected for reviews that are triggered by rules in RSA Identity Governance & Lifecycle 25Number of Views 'Request could not be handled' and 'No enum constant com.aveksa.server.core.DataCollector.Status.InActive' errors exportin… 162Number of Views Recommended Java heap memory settings in RSA Identity Governance & Lifecycle 134Number of Views
Don't see what you're looking for?