When creating Access Fulfillment Express (AFX) Connectors in RSA Identity Governance & Lifecycle, it is observed that the heap memory used by AFX increases each time a connector is created and is never released. The AFX heap usage will continue to grow as new connectors are added until available heap memory is exhausted or AFX is restarted. Creating approximately 100 new connectors was found to consume around 450 MB of heap.
The esb.AFX-INIT.log has the following error:
Root Exception stack trace:
java.lang.OutOfMemoryError: PermGen space
There is a memory leak in the AFX subsystem which processes newly created connectors.
This issue is being investigated by the Engineering team in order to provide a permanent resolution in a future release.
Restart afx as the afx user (afx restart). The restart will reclaim the leaked memory and more connectors may be created. This is only an issue when creating connectors. Once they are created and memory is reclaimed, AFX will run as expected without further memory leakage.