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!

https://github.com/KimMachineGun/automemlimit

submitted by /u/kim-machine-gun
[link] [留言]