Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix not reading limits when cgroup v2 used (#107)
Docker image was not picking up memory limits when cgroup v2 was used. This lead to incorrect java heap memory limits that lead to crashes due to OOMKilled as described in #106. Add extra check for limits in cgroup v2 file for the image to correctly read memory limits with both cgroup v1 and cgroup v2. Resolves #106 --- Signed-off-by: funbiscuit <[email protected]>
- Loading branch information