kill process on OutOfMemoryError

[finishes #48705545]