Documentation
¶
Overview ¶
Package membudget detects the memory budget available to the process — (in order) cgroup v2, cgroup v1, then host RAM from /proc/meminfo — so consumers can scale their allocations against the actual quota instead of hardcoding sizes. Used by the GOMEMLIMIT bootstrap in package main and the SQLite cache/mmap sizing in internal/storage.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.