pub fn set_max_cache_size(max_bytes_used_per_thread: usize)
Expand description

Specify the maximum number of bytes used in thread local caches.

A value of zero disables the cache, while a value of usize::MAX denotes an unlimited cache size.

Note: the upper bound on the cache size is respected on a best effort basis only. We make no guarantees on the maximum memory used by tracing-tracy. Notably, changes to this value are eventually consistent, i.e. caches are not flushed upon an update.

Defaults to 8192 per thread.