corrosiontears

MinFree Setup - Android agressivo.

Jan 10th, 2014
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.50 KB | None | 0 0
  1. # - Set Android Low Memory Killer to Aggressive (in number of pages of 4Kbytes)
  2. #     Forground apps    :  2048 pages /   8Mb
  3. #     Visible apps      :  4096 pages /  16Mb
  4. #     Secondary server  :  8192 pages /  32Mb
  5. #     Hidden apps       : 16384 pages /  64Mb
  6. #     Content providers : 24576 pages /  96Mb
  7. #     Emtpy apps        : 32768 pages / 128Mb
  8. chmod 664 /sys/module/lowmemorykiller/parameters/minfree
  9. echo "2048,4096,8192,16384,24576,32768" > /sys/module/lowmemorykiller/parameters/minfree
Add Comment
Please, Sign In to add comment