Skip to content

Commit fd86c17

Browse files
committed
FIX: Estimate free memory with available, not free
1 parent 4de3897 commit fd86c17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabies/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
try:
144144
from psutil import virtual_memory
145145

146-
_free_mem_at_start = round(virtual_memory().free / 1024**3, 1)
146+
_free_mem_at_start = round(virtual_memory().available / 1024**3, 1)
147147
except Exception:
148148
_free_mem_at_start = None
149149

0 commit comments

Comments
 (0)