#!/bin/sh

#Simply kill the task that triggered the out-of-memory condition to avoids the expensive tasklist scan.
echo 1 > /proc/sys/vm/oom_kill_allocating_task

#enable to set lmk theshold in Application
chown app /sys/module/lowmemorykiller/parameters/minfree
chmod 0600 /sys/module/lowmemorykiller/parameters/minfree
