KB Article #176347

Heapdump from Secure Relay when OutOfMemory error occurs

Problem

-- when OutOfMemory error occurs on Secure Relay, it is necessary to get a full Java heapdump for debugging purposes;

Resolution

On Managed Services side:

* in the profile.bat file modify the line so it shows the following:
  set p_xsr_jvm_extra_parameters=-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=\PATH\TO\dumpfile.hprof
 * Change the path to file so that it reflects a real path on the system;
* set the log level on Secure Relay Route Agent to DEBUG and restart;
* set the log level for Secure Relay in Gateway configuration to full;
* restart Gateway;

The heapdump file is:
\PATH\TO\dumpfile.hprof