/tc:tc-config/servers/garbage-collection
This section lets you configure the periodic distributed garbage collector (DGC) that runs in the TSA. The DGC collects shared data made garbage by Java garbage collection.
For many use cases, there is no need to enable periodic DGC. For caches, the more efficient automatic inline DGC is normally sufficient for clearing garbage. In addition, certain read-heavy applications will never require the periodic DGC as little shared data becomes garbage.
However, concerning certain data structures, the periodic DGC may need to be enabled. Inline DGC may not be available for all data structures.
Here is a configuration snippet:
<garbage-collection>
<!-- Default: false -->
<enabled>true</enabled>
<!-- If "true", additional information is logged when a
server performs distributed garbage collection.
Default: false
-->
<verbose>false</verbose>
<!-- How often should distributed garbage collection
be performed, in seconds?
Default: 3600 (60 minutes)
-->
<interval>3600</interval>
</garbage-collection>