Documentation
¶
Index ¶
- Variables
- func FromCgroup() (uint64, error)
- func FromCgroupV1() (uint64, error)
- func FromCgroupV2() (uint64, error)
- func Limit(limit uint64) func() (uint64, error)
- func SetGoMemLimit(ratio float64) (int64, error)
- func SetGoMemLimitWithProvider(provider Provider, ratio float64) (int64, error)
- type Provider
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func FromCgroup ¶
func FromCgroupV1 ¶
func FromCgroupV2 ¶
func SetGoMemLimit ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.