From 902117faba92b2cb376a7093416c4e48205e94a5 Mon Sep 17 00:00:00 2001 From: Johan Dahlberg Date: Tue, 4 Jun 2024 15:11:45 +0200 Subject: [PATCH] Update error message on OMM Co-authored-by: Florian De Temmerman <69114541+fbdtemme@users.noreply.github.com> --- src/pixelator/cli/collapse.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pixelator/cli/collapse.py b/src/pixelator/cli/collapse.py index 1dbf2c9d..7cd91258 100644 --- a/src/pixelator/cli/collapse.py +++ b/src/pixelator/cli/collapse.py @@ -47,9 +47,9 @@ def _handle_errors(jobs, executor): # If we have an out of memory exception, make sure we exit with that. if abs(exit_code) == 9: logger.error( - "One of the child processes was killed (exit code: 9). Usually this is caused " - "by a child process using to much memory. We will return an exit code of 137 " - "to indicate that the process was killed by the out of memory killer." + "One of the child processes was killed (exit code: 9). " + "Usually this is caused by the out-of-memory killer terminating the process. " + "The parent process will return an exit code of 137 to indicate that it terminated because of a kill signal in the child process." ) sys.exit(137) logger.error(