Oh, please ... In 50 years, I've passed many code reviews, including mission critical code for satellite uplinks. It is a
fallacy to assume that you can do "recovery" after running out of memory for mission critical apps. If you design the program so that you
can run out of memory, it's a misdesign to begin with (realtime safe programs don't allow allocation except during initialization). So, what [specific]
meaningful recovery would you do for this program here? —
Craig Estey 24 secs ago