fix oom-killer issue #1018

OOM feature is deprecated in newer kernels.  This should fix it. (identical to snippet in issue comments)