Often those crashes are an error in the code causing recursion - the program loops and loops forever and the only thing that stops it is running out of memory. Check your code for any functions that call the same function.
Often those crashes are an error in the code causing recursion - the program loops and loops forever and the only thing that stops it is running out of memory. Check your code for any functions that call the same function.