-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[native] Add LinuxMemoryChecker check/warning to ensure system-mem-li…
…mit-gb is reasonably set Add additional checks and warnings to ensure system-memory-gb < system-mem-limit-gb < memory limit for process. For cgroup v1: Set memory limit for process to be the smaller number between /proc/meminfo and memory.limit_in_bytes For cgroup v2: Set memory limit for process to be the smaller number between /proc/meminfo and memory.max If memory.max contains "max" string, then look at /proc/meminfo for the MemTotal, otherwise use the value in memory.max.
- Loading branch information
Showing
5 changed files
with
389 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.