The RADIUS agent is going into a disrupted state due to "java.lang.OutOfMemoryError: Java heap space"
Error - Listener Thread error java.lang.OutOfMemoryError: Java heap space
OR
ERROR - Failed to get radius apps from Okta
java.lang.IllegalStateException: Connection pool shut down
-
32-bit RADIUS agent 2.17.3
-
Okta Identity Engine/Classic Engine
-
A REGISTRY edit needs to be made at the following path to update the value for JvmMS to 1024 (decimal) and JvmMx to 1560 (decimal):
-
- HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Apache Software Foundation\Procrun 2.0\okta-radius\Parameters\Java
- HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Apache Software Foundation\Procrun 2.0\okta-radius\Parameters\Java
-
After these values are updated, verify the memory peak usage goes up, allowing the agent to allocate more memory to handle the packets by the agent.
