Hi, Below is info from Support that hopefully helps! Regards,Chris
Running Wily agent uses
additional heap on the JVM (Java Virtual Machine) i.e. not cost free. The
additional heap really depends on what the application does, the level of
Wily instrumentation turned on, number of Wily add-ons installed, etc.
For example, SQL monitoring is turned on by default and if the
application is SQL intensive, it will use more heap than an application that
does very little SQL. If the additional heap + the heap required by the
application > the max heap specified for the JVM, this can cause
OutOfMemory error or instability in the JVM. However, this is not a memory
leak; the heap required to run Wily agent can be tuned to something very low if
needed by turning off unnecessary instrumentation.
A memory leak is when the heap
increases over time due to unused objects in the JVM not being released, thus
causing these unnecessary objects to pile up, and the JVM to use more memory
over time. No tuning will help with this situation. We’ve not aware there’s
such issue with 8.1 agents.
Best to open an incident with support so it can be investigated if it’s
a higher than expected memory usage, or a memory leak issue.