Identity Manager becomes unresponsive shortly after startup.
RAM usage increases rapidly until it reaches the maximum heap size, followed by significant CPU spikes. The WildFly server.log repeatedly shows
java.lang.OutOfMemoryError: Java heap space.
Identity Manager 14.5.1
This issue occurs due to an excessive amount of data or orphaned records related to scheduled tasks in the Task Persistence (TP) database, leading to memory exhaustion during task processing.
Note: This is an application layer problem, if application support is available then Broadcom recommends discussing this issue with them as they can assist with the heap dump analysis.
To try to identify why an IDM deployment is experiencing this issue you can use Heap Dumps.
When the system is at a high memory and cpu use, take a java heap dump.
There are multiple ways to collect the heap dump, the simplest would be to use the use the jmap tool which is provided by the JDK/bin folder.
jmap -dump:format=b,file=<file-path> <pid>
The resulting heap dump can be reviewed in a profiler tool like JVisualVM or VisualVM.
In this case we identified and removed unneeded scheduled tasks to stabilize memory usage:
jmap -dump:format=b,file=<file-path> <pid>