mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-30 01:16:33 +02:00
[cgroup] forgot filename
This commit is contained in:
parent
788bd7738b
commit
d0cebbe2b0
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ def getCgroupMemorySize():
|
|||
return -1
|
||||
|
||||
size = -1
|
||||
filename = f"/sys/fs/cgroup/memory/{cgroup}"
|
||||
filename = f"/sys/fs/cgroup/memory/{cgroup}/memory.limit_in_bytes"
|
||||
try:
|
||||
with open(filename, "r") as f :
|
||||
value = f.read().rstrip("\r\n")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue