From fd86c1757652ace37059ae4cc5d9b8d2c0ec4fb7 Mon Sep 17 00:00:00 2001 From: mathiasg Date: Thu, 27 Apr 2023 12:44:27 -0400 Subject: [PATCH] FIX: Estimate free memory with available, not free --- nibabies/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nibabies/config.py b/nibabies/config.py index 9f459bf5..f708740d 100644 --- a/nibabies/config.py +++ b/nibabies/config.py @@ -143,7 +143,7 @@ try: from psutil import virtual_memory - _free_mem_at_start = round(virtual_memory().free / 1024**3, 1) + _free_mem_at_start = round(virtual_memory().available / 1024**3, 1) except Exception: _free_mem_at_start = None