|Applies To||RSA Product Set: RSA Via Lifecycle & Governance|
RSA Version/Condition: 6.0 and higher
|Issue||The RSA Via L&G application throws Java out of memory errors in the aveksaServer.log and/or the RSA Via L&G application has hung or shows considerable slowness.|
|Cause||When the Java heap is exhausted (i. e., out of memory) from the application perspective, the system will slow. The heap becomes exhausted either due to being undersized, or under extreme load on the application server and as a result the heap is unable to find space for object allocation.|
The latency will manifest itself in various ways. For example, reviews can take a long time to finish, navigation between pages becomes slow, change requests will take a long time to process, etc.
This can also be seen in the aveksaServer.log as "out of memory" errors.
|Resolution||A very useful trouble-shooting 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 (i. e., 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 heap dump is not automatically generated, it can be manually generated using the following steps. |
$ jmap -dump:format=b,file=heap.hprof <pid>
Where <pid> is the pid of the application server process.
|Legacy Article ID||a66702|