Java memory usage
Typically you do not have to tune the Java™ VM's use of memory. However, in certain conditions, consider using runtime options to change the default behavior.
If you use SSL-offloading at Diffusion™
If your clients make secure connections to the Diffusion server and
these connections are SSL offloaded at the Diffusion server, ensure
that you tune the following runtime options:
- -Xmx
- Sets the maximum heap size.
- -XX:MaxDirectMemorySize
- Sets the maximum total size (in bytes) of direct-buffer allocations. By
default, the JVM chooses the size for direct-buffer allocations
automatically.
Diffusion uses direct memory to offload SSL connections.
Ensure that the combined total of these two values does not exceed 80% of the RAM available on your system.