There is no clear message when the application crashes due to a lack of memory. This makes it super hard to troubleshoot and find the root cause.
We should improve errors when the application crashes due to lack of memory.