Performing Garbage collections in the JVM is not guaranteed.
It is up to the JVM to determine if it will perform a GC on our request or not.
By default, DLC operations do not trigger a garbage collection. This can be requested by adding
one of the following values to your DLC request:
{
"operation": "LOAD",
"topics": [ "trades" ],
"performGcOnStart": true,
"performGcOnCompletion": true
}
These properties run a GC request as follows:
"performGcOnStart": before the Operation is executed.
"performGcOnCompletion": after the Operation is completed.