I just noticed that we're using this library for fetching max available mem: https://github.com/chaos-mesh/memStress/blob/6583ea9aa7302c2a65ad8704dd3d8665379df6b0/main.go#L117 in the source code, it use procfs to get meminfo: https://github.com/shirou/gopsutil/blob/c95f835cd977d7aa68f61d7ea06e452cac789927/mem/mem_linux.go#L34 in a container, the procfs does NOT represent the resources in cgroupfs.