Hi gophers!
I recently released v1.0.0 of automemlimit, a small library I started about four years ago (and thankfully, a few open-source projects are using it).
It sets GOMEMLIMIT based on the cgroup memory limit, similar to what automaxprocs does for GOMAXPROCS.
Hope some of you find it useful!
[link] [留言]