View Single Post
Posts: 83 | Thanked: 91 times | Joined on Nov 2015 @ NIgeria
#60
Originally Posted by szopin View Post
Has anyone figured out how to properly kill/disable lowmemorykiller? Neither tweaking overcommit_ratio, nor this minfree trick stops the lowmemorykiller from killing cc1plus when compiling on device.

Ok, from my testing this seems to kill oom-killer for good:
Code:
echo '9999' > /sys/module/lowmemorykiller/parameters/adj
echo '1' > /sys/module/lowmemorykiller/parameters/minfree
your process will die if it eats all swap+ram, but other apps stay alive
thanks to nieldk
This commands might have worked previously but on 2.0.5.6 I still get apps being killed and some lagging behavior at times.
What are the commands to revert this please?
__________________
Sony C6 > Sony Ericsson K310 > Sony Ericsson K750 > N70 > N73 > N81 > N82 > N79 > E7 > N9 > Jolla
 

The Following 2 Users Say Thank You to dameceno For This Useful Post: