> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Garbage collection

> How to trigger a JVM garbage collection before or after a DLC operation using the `performGcOnStart` and `performGcOnCompletion` request properties.

<Info>
  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.
</Info>

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:

```json theme={"languages":{"custom":["/engine/python-sdk/0.9/languages/pycon.tmLanguage.json"]}}
{
  "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.
