How to generate Java heap dumps in RSA Identity Governance & Lifecycle
Originally Published: 2019-05-22
Last Modified: 2023-10-06
Article Number
Applies To
RSA Version/Condition: 7.x
Issue
The heap can become exhausted when either it is undersized, or when the application server is under extreme load. In both cases, the heap is unable to find space for object allocation.
When the Java heap becomes exhausted, the RSA Identity Governance & Lifecycle application throws Java out of memory errors in the /home/oracle/wildfly-10.1.0.Final/standalone/log/aveksaServer.log.
A very useful troubleshooting tool to determine which objects are using all the Java heap memory is a Java heap dump. The Java heap dump lists of all the objects that are in the Java heap (that is, the objects being used by the application) at that time. Sometimes a Java heap dump is automatically created; especially if a system crashes due to out of memory errors. If the Java heap dump is not automatically generated, it can be manually generated using the steps outlined in this article.
Resolution
Steps to create a Java heap dump
- To manually generate a heap dump (for example, during a particular step in the application where the heap is potentially being exhausted), connect to the server as the oracle user and execute the following command:
$ jmap -dump:format=b,file=heap.hprof <pid>
where <pid> is the pid of the application server process.
- Once generated, the Java heap will be placed in the /home/oracle directory.
- The Java heap name will usually follow a java_pid<number>.hprof naming convention.
Related Articles
Entitlements manually added when an Application has 'Complete Manual Activity Before Collection' enabled are not removed w… 130Number of Views How (and why) do I enable Authentication Manager Prime multi-tenant mode? 38Number of Views Entitlements manually added when an Application has 'Complete Manual Activity Before Collection' enabled do not show in th… 221Number of Views WorkPoint.log and heap dumps are written to the Linux root directory ( / ) on WebSphere and WebLogic implementations of RS… 157Number of Views Offline logon failure then loop back to login screen RSA Authentication Agent 7.3.3 [99] for Windows 145Number of Views
Trending Articles
User Application Portal RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide Download RSA SecurID Access Cloud User Event audit logs using Cloud Administration REST API CLU How to set up the REST RSA SecurID Authentication API for Authentication Manager 8.2 SP1 RSA Authentication Manager 8.9 Patches and Hotfixes Readme
Don't see what you're looking for?