cmd: automatically set GOMEMLIMIT (#6809)

* feat: automatically set GOMEMLIMIT

* add system support

* comments

* add logs
This commit is contained in:
Kévin Dunglas
2025-01-27 17:32:24 +01:00
committed by GitHub
parent 1115158616
commit 066d770409
3 changed files with 28 additions and 1 deletions

2
go.mod
View File

@@ -49,6 +49,7 @@ require (
require (
dario.cat/mergo v1.0.1 // indirect
github.com/KimMachineGun/automemlimit v0.7.0 // indirect
github.com/Microsoft/go-winio v0.6.0 // indirect
github.com/antlr4-go/antlr/v4 v4.13.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
@@ -63,6 +64,7 @@ require (
github.com/google/pprof v0.0.0-20231212022811-ec68065c825e // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.22.0 // indirect
github.com/onsi/ginkgo/v2 v2.13.2 // indirect
github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/quic-go/qpack v0.5.1 // indirect
github.com/smallstep/go-attestation v0.4.4-0.20240109183208-413678f90935 // indirect