Debian Codegraph @

internal/memorylimiter/testdata/config.yaml

raw
1 # check_interval is the time between measurements of memory usage for the
2 # purposes of avoiding going over the limits. Defaults to zero, so no
3 # checks will be performed. Values below 1 second are not recommended since
4 # it can result in unnecessary CPU consumption.
5 check_interval: 5s
6
7 # Maximum amount of memory, in MiB, targeted to be allocated by the process heap.
8 # Note that typically the total memory usage of process will be about 50MiB higher
9 # than this value.
10 limit_mib: 4000
11
12 # The maximum, in MiB, spike expected between the measurements of memory usage.
13 spike_limit_mib: 500