Kill JVM on OOM

[#51561265]
Merge 51561265-halt-JVM-on-OOM to master

[#51561265]