Skip to content

Commit

Permalink
Give hint on REALIZATION_MEMORY on oom kills
Browse files Browse the repository at this point in the history
  • Loading branch information
berland committed Oct 16, 2024
1 parent ace090c commit 5d02e9a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/_ert/forward_model_runner/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,9 @@ def _create_exited_msg_for_non_zero_exit_code(
f"Forward model step {self.job_data.get('name')} "
"was killed due to out-of-memory. "
"Max memory usage recorded by Ert for the "
f"realization was {max_memory_usage//1024//1024} MB"
f"realization was {max_memory_usage//1024//1024} MB. "
"Please add REALIZATION_MEMORY to your ert config together "
"with a suitable memory amount to avoid this."
)
return exited_message.with_error(
f"Process exited with status code {exited_message.exit_code}"
Expand Down

0 comments on commit 5d02e9a

Please sign in to comment.