#This will limit memory used by background processes to 10MB. #The default value is arround 70MB. #In my phone only 3 processes are in this group: #msyncd, obexd and the infamous smartsearch while [[ `cat /syspart/system/background/memory.limit_in_bytes` != 10485760 ]] do echo 10M > /syspart/system/background/memory.limit_in_bytes sleep 5 done