automemlimit icon indicating copy to clipboard operation
automemlimit copied to clipboard

Automatically set GOMEMLIMIT to match Linux cgroups(7) memory limit.

Results 6 automemlimit issues
Sort by recently updated
recently updated
newest added

Hey, I just started using this package. I like it! But, I use it alongside automaxprocs, and I noticed automaxprocs always logs when it changes the GOMAXPROCS setting, whereas your...

enhancement

In Kubernetes 1.27, [there is now in-place pod resizing](https://kubernetes.io/blog/2023/05/12/in-place-pod-resize-alpha/). It would be useful to have a refresh interval that can update the memlimit in case the cgroup settings change.

enhancement

# Proposal In order to support different logging libraries, it would be nice to have logging be an interface to something compatible with the current stdlib `log` package. For example:...

enhancement

Hello, first of all thank you for this great library! When including this in our applications, I discovered that this module has a lot of transitive dependencies. Most of those...

enhancement

As limits is some memory for burst cases, I think the better way to set gomemlimit is to set it within requests. Is there a way to do this?

question

the refresh goroutine leaks forever and there's no way to stop it: https://github.com/KimMachineGun/automemlimit/blob/a9a712bee9977065cf72b4f29fcaf3a4e0573e13/memlimit/memlimit.go#L213

enhancement