I am trying to kill all unwanted background processes (especially the ones started by zygote) on a rooted android phone (any version and any model), so that I have the maximum possible RAM available with me? Can someone please help me on how to go about it?
1 Answer
That's a really silly thing to do. Android will automatically kill background processes to make more RAM available when necessary. Most of the time it leaves background processes in RAM (but not running) to allow those apps to start up quicker next time, and to use less power (because it doesn't have to keep reloading the app into RAM). See the answers to this question for more info.
-
Well, I am creating an app for testing DRAM on android phones, so that's the reason why I want as much free space as possible. But the problem is that the background processes keep coming up even if you kill them. So, I am looking for a means to kill these permanently. Commented Aug 1, 2013 at 8:24
-
That's intended. Take a look at the auto-start tag-wiki for hints on preventing some of them to run.– IzzyCommented Aug 1, 2013 at 9:01
-
Thanks a lot @Izzy... I think it will really help my purpose Commented Aug 1, 2013 at 10:21