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
How (and why) do I enable Authentication Manager Prime multi-tenant mode? 38Number of Views How to get java heap dump on RSA Authentication Manager 8.x 156Number of Views How to use Windows Password Integration with Offline Authentication on an RSA Authentication Agent 7.x for Windows 916Number of Views Why am I getting a "Failed to Log In" message when attempting to configure an MFA authenticator for my RSA account? 32Number of Views Configure Logging 183Number of Views
Trending Articles
How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device Reporting on RSA Authentication Manager 8.x users with On-Demand Token, a fixed passcode or a hardware/software token assi… How to Download OTP Token Seed Files from myRSA Anomalix idGenius - SAML Relying Party Configuration - RSA Ready Implementation Guide RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide
Don't see what you're looking for?