cockroach: github.com/cockroachdb/cockroach/pkg/util/cgroups Index | Files

package cgroups

import "github.com/cockroachdb/cockroach/pkg/util/cgroups"

Index

Package Files

cgroups.go

func GetMemoryLimit Uses

func GetMemoryLimit() (limit int64, warnings string, err error)

GetMemoryLimit attempts to retrieve the cgroup memory limit for the current process

Package cgroups imports 9 packages (graph) and is imported by 4 packages. Updated 2020-08-09. Refresh now. Tools for package owners.