Skip to content

[issue 1164] Oom handling#286

Open
guicho271828 wants to merge 2 commits intoaibasel:mainfrom
guicho271828:oom-handling
Open

[issue 1164] Oom handling#286
guicho271828 wants to merge 2 commits intoaibasel:mainfrom
guicho271828:oom-handling

Conversation

@guicho271828
Copy link
Contributor

@guicho271828 guicho271828 commented Mar 5, 2026

Handle out-of-memory more gracefully.

  • Alllocate a 1MB reserve memory in register_signal_handlers
  • On OOM, release the reserve memory and throw ExitException with ExitCode::SEARCH_OUT_OF_MEMORY
  • Unwind the stack to main, make sure to print the search statistics (reserve memory gives a leeway), return from main (which invokes destructors for shared_ptr objects)

https://issues.fast-downward.org/issue1164

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant