- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for setMemoryLimit (0.19 sec)
-
src/runtime/debug/stubs.go
// Implemented in package runtime. func readGCStats(*[]time.Duration) func freeOSMemory() func setMaxStack(int) int func setGCPercent(int32) int32 func setPanicOnFault(bool) bool func setMaxThreads(int) int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 03 15:12:04 UTC 2022 - 435 bytes - Viewed (0) -
cmd/server-rlimit.go
humanize.IBytes(vssLimit)) } if ctx.MemLimit > 0 { maxLimit = ctx.MemLimit } if maxLimit > 0 { debug.SetMemoryLimit(int64(maxLimit)) } // Do not use RLIMIT_AS as that is not useful and at times on systems < 4Gi // this can crash the Go runtime if the value is smaller refer // - https://github.com/golang/go/issues/38010
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 30 11:58:12 UTC 2024 - 2.9K bytes - Viewed (0)