On Mon, 18 Apr 2022 09:07:31 GMT, xpbob <d...@openjdk.java.net> wrote:

> set memory.swappiness to 0,swap space will not be used 
> determine the value of memory.swappiness
> https://www.kernel.org/doc/Documentation/cgroup-v1/memory.txt
> 
> 
>     Memory Limit: 50.00M
>     Memory Soft Limit: Unlimited
>     Memory & Swap Limit: 100.00M
>     Maximum Processes Limit: 4194305 
> 
> =>
> 
>     Memory Limit: 50.00M
>     Memory Soft Limit: Unlimited
>     Memory & Swap Limit: 50.00M
>     Maximum Processes Limit: 4194305

This pull request has now been integrated.

Changeset: 46d208fb
Author:    bobpengxie <bobpeng...@tencent.com>
Committer: Jie Fu <ji...@openjdk.org>
URL:       
https://git.openjdk.java.net/jdk/commit/46d208fb1ce9a3d45bee2afda824f15c84a5e4d2
Stats:     142 lines in 4 files changed: 137 ins; 0 del; 5 mod

8284950: CgroupV1 detection code should consider memory.swappiness

Reviewed-by: sgehwolf, iklam

-------------

PR: https://git.openjdk.java.net/jdk/pull/8285

Reply via email to