OpenOptions.gcRunThreshold

Allocation threshold to trigger a GC run

If the amount of memory allocated since the previous GC run is less than this amount of bytes, the GC scan will be skipped.

Setting this value to 0 forces a run every gcInterval, regardless of how much was allocated.

struct OpenOptions
size_t gcRunThreshold;

Meta