With 800 MB of RAM free, why do apps not stay in RAM when multitasking? - Nexus 5 Q&A, Help & Troubleshooting

I presume that this has something to do with the min free values, but I'm not sure what to do about that or if I should modify it or what. What are your thoughts? I think apps shouldn't start being suspended until you're at least down to say 200 MB. it doesn't take long to suspend an app and push it to ram, android shouldn't be doing it so aggressively.
To test this yourself, open up a lot of apps, use the task switcher button and then scroll to the very top and select the least recently used app do this for about 10 apps, and you will see that every single one of them is pushed out of RAM and has to be reloaded, every time you get back around to it again.

rancur3p1c said:
I presume that this has something to do with the min free values, but I'm not sure what to do about that or if I should modify it or what. What are your thoughts? I think apps shouldn't start being suspended until you're at least down to say 200 MB. it doesn't take long to suspend an app and push it to ram, android shouldn't be doing it so aggressively.
To test this yourself, open up a lot of apps, use the task switcher button and then scroll to the very top and select the least recently used app do this for about 10 apps, and you will see that every single one of them is pushed out of RAM and has to be reloaded, every time you get back around to it again.
Click to expand...
Click to collapse
Maybe it has to do with the fact that kitkat is supposed to run on devices with as little as 512mb of ram.

iive ound coming from jb that KitKat agressivly kills task or dose a better job of it jb stuff was always running in the background.

xstokerx said:
iive ound coming from jb that KitKat agressivly kills task or dose a better job of it jb stuff was always running in the background.
Click to expand...
Click to collapse
interesting. thanks. Does the other RAM go unused? Maybe it's just suspending the app not flushing to disk.

on my phone ive got a woping 1.1gb free wen all my apps are closed this is just crazy like the guy above said I think kitkat is quick to suspend apps making it easyer on devices with less ram all found that when I clear a app from recent menu that it kills it off were on jb it would still hold it in ram tell another app pushed it out.

I read somewhere that kitkat can only have 10 apps open at once. Anymore and apps are kicked out of ram. Idk if this is what is going on or what
Sent from my Nexus 5 using Tapatalk

http://forum.xda-developers.com/showthread.php?t=2541534&highlight=multitasking
i improved the situation using greenify and lowering minfrees. I ' going to activate swap file waiting for kit kat supercharger..
---------- Post added at 01:09 PM ---------- Previous post was at 01:08 PM ----------
http://forum.xda-developers.com/showthread.php?t=2541534&highlight=multitasking
i improved the situation using greenify and lowering minfrees. I ' going to activate swap file waiting for kit kat supercharger..

gaetanolip said:
http://forum.xda-developers.com/showthread.php?t=2541534&highlight=multitasking
i improved the situation using greenify and lowering minfrees. I ' going to activate swap file waiting for kit kat supercharger..
---------- Post added at 01:09 PM ---------- Previous post was at 01:08 PM ----------
http://forum.xda-developers.com/showthread.php?t=2541534&highlight=multitasking
i improved the situation using greenify and lowering minfrees. I ' going to activate swap file waiting for kit kat supercharger..
Click to expand...
Click to collapse
I don't understand that thread. It's like nobody read what you were saying, just posted about how great their phone was at multitasking, or that you should use Supercharger.
Doesn't greenify kill stuff?

rancur3p1c said:
interesting. thanks. Does the other RAM go unused? Maybe it's just suspending the app not flushing to disk.
Click to expand...
Click to collapse
Probably for the same reason that Microsoft did the same when with Windows 7. Just to make the complainers feel better.

BababooeyHTJ said:
Probably for the same reason that Microsoft did the same when with Windows 7. Just to make the complainers feel better.
Click to expand...
Click to collapse
which complainers?

rancur3p1c said:
which complainers?
Click to expand...
Click to collapse
People used to cry all of the time due to Vista's prefetch doing its job. I've seen the very same thing here with 4.2.2's memory usage despite it not causing any issues.

rancur3p1c said:
I don't understand that thread. It's like nobody read what you were saying, just posted about how great their phone was at multitasking, or that you should use Supercharger.
Doesn't greenify kill stuff?
Click to expand...
Click to collapse
Nah some of us read before replying. Basically until somebody makes a way to stop KitKat from killing apps when it doesn't need to us users with 2gb of ram have a lot of wasted memory. There must be a hardcoded maximum running app count in KitKat otherwise why would it be killing apps when we have so much memory left. Supercharger has a way of removing or changing that maximum so that whatever minfrees you set will let Android manage memory properly without preemptively killing apps.
Unless you have a poorly coded app that is just eating up battery when it's not a foreground application, on Android it's better to have it running in the background so it can be loaded up faster when you switch to it. Unused memory is just wasted memory.
That's the jist of Greeenify except it take sit a step further and stops that app from relaunching itself so it stays killed until you use it. Most of the time it works but some apps can be stubborn buggers.

Ram not used, but many app stay on cache, thats why new ART need more space than dalvik.

Related

Power Android Memory Manager -- AndMemory 1.5 Latest Release

AndMemory is an android memory optimization software,It can be manually or automatically optimize memory and end the processes,It is the best memory management software for freeing memory,can make your phone run smoothly when you run many apps.
Version 1.5
1) remove advertising
2) Add auto memory optimization options
3) fix long-press settings bug
4) Changing some text caption
APK Download:http://code.google.com/p/andbox/downloads/detail?name=AndMemory_1.5_signed_beta.apk&can=2&q=#makechanges
Hello everybody,please give me some use feeling that i can improve my software.
It is my understanding that this is not useful for Android 2.2 and above, since it includes its own memory management.
Android will usually keep its memory full on purpose so recently used apps are responsive.
When you load a new app, others get swapped out of memory if there is not enough room.
So is this app useful for 2.2 and above?
Useful to be able to help you more quickly free memory when you reset oom value ,the system will speed up Significantly
hi nice working so far! looking good and quick boost is really a nice touch!
my mob is running fine without any problems so far.
like whitelist, a blacklist would be helpful! and the memory is not going beyond 120! when using other memory tools such auto killer memory or minfreemanager I can tweak upto 250! I think you can give option like save as custom preset and then use it.
ivolol said:
It is my understanding that this is not useful for Android 2.2 and above, since it includes its own memory management.
Android will usually keep its memory full on purpose so recently used apps are responsive.
When you load a new app, others get swapped out of memory if there is not enough room.
So is this app useful for 2.2 and above?
Click to expand...
Click to collapse
This isn't like a typical task killer. This looks the same as the very popular AutoKiller. It tweaks Android's built-in memory management. You can read technical details here http://andrs.w3pla.net/autokiller/details
diimaan said:
hi nice working so far! looking good and quick boost is really a nice touch!
my mob is running fine without any problems so far.
like whitelist, a blacklist would be helpful! and the memory is not going beyond 120! when using other memory tools such auto killer memory or minfreemanager I can tweak upto 250! I think you can give option like save as custom preset and then use it.
Click to expand...
Click to collapse
Thanks. Great advice.
c00ller said:
This isn't like a typical task killer. This looks the same as the very popular AutoKiller. It tweaks Android's built-in memory management. You can read technical details here http://andrs.w3pla.net/autokiller/details
Click to expand...
Click to collapse
nice this is technical details.
subscribing to the thread, autokiller hasnt been auto launching for me ...
noobhero said:
subscribing to the thread, autokiller hasnt been auto launching for me ...
Click to expand...
Click to collapse
Can you get root it?
fonter said:
Can you get root it?
Click to expand...
Click to collapse
yes, i havent tried urs yet.
just kiving
noobhero said:
yes, i havent tried urs yet.
just kiving
Click to expand...
Click to collapse
If you can get root, and setting successfully, the system will help you free memory. the system will kill some empty applications when you run many applications.
auto launcher is working for me!
but everytime I open I have to click request root permission! is there a way to remember my selection! once I press request root permission it should remember.
diimaan said:
auto launcher is working for me!
but everytime I open I have to click request root permission! is there a way to remember my selection! once I press request root permission it should remember.
Click to expand...
Click to collapse
I know,It is a bug,I will fix it next version
also I would like to know what is the difference between topspeed and quick free memory?
diimaan said:
also I would like to know what is the difference between topspeed and quick free memory?
Click to expand...
Click to collapse
"topspeed" need root, "quick free memory" does not need root,topspeed can completely free the memory and kill some empty app. "quick free memory" only kill some empty app.
Ummm why does it need Internet access?
Sent via Nexus S
noobhero said:
Ummm why does it need Internet access?
Sent via Nexus S
Click to expand...
Click to collapse
This version contains admob, admob need network.
new version coming any soon?
still waiting new fix version.
i'll try it....
Sent from my X8 using XDA Premium App

Applications autorun in the background after 2.3.5 upgrade.

Hi,
I followed adixtra's tutorial and upgraded my O3D to 2.3.5 Europe open, and i must admit that this was the best and the flawless tutorial that i had ever read.
But after installing the new firmware i have noticed that many applications start by themselves in the background, I have the app manager widget running and with 2.2 it never used to report any running applications other than the ones that i manually start, but of late i can see upto 7 and sometimes 15 applications which reduce the available ram to around 40 Mb and i need to stop all of them manually.
I just wanted to check if this has to do with me flashing a unbranded firmware on an optus unlocked phone?
BTW the network reception has increased manifold and the phone by itself has improved, just that the applications autorunning is not giving me an improved battery life as gingerbread was supposed to. I still only manage to get 1 day of juice on a 2G network with minimal surfing/games and music.
Can someone suggest what might be my problem here? Also another strange thing is that when i look at the battery status in the applications--> battery use, the summary on top is garbage... even if the phone runs for 12 hrs on battery the summary shows something like 4mxxsec. but on clicking it the graph has the actual battery run time listed.
is anyone else also facing this? or i am the owner of a Unique O3D , this is not impacting any functionality though.
Thanks
Kris.
Yes, it seems like my phone also autostarts apps but i didn't notced, and i have the same problem with the battery statistics. ****, we waited for 4 months for official update and I still feel like i have installed a custom rom...
Sent from my LG-P920
Everyone have battery bug.. And bg apps also
I've got exact same problem! App manager widget and anywhere between 5-9apps running constantly and not got any increase in battery life.My O3D is a UK open one which I flashed with kdz with tutorial on here.Seriously thinking about rooting with custom Rom see if that helps with battery.
Sent from my LG-P920 using XDA App
For those worried about ram. I would assume the ram is filling up because that's how ram works in linux/android. Empty ram is wasted ram, the phone is supposed to load your most used and recent apps. When you fresh install it loads what it thinks you will be using and adjusts over time, this makes your phone actually load programs faster. Free memory doesn't speed up anything, this isn't windows. In fact if you have to constantly load apps from phone memory you are draining your battery more than if your apps were loading from ram. You want your apps to be in ram. Just because an app is loaded in ram doesn't actually mean it is running. It is sitting there idle not using any cpu at all waiting for the user to call that app up. If you just leave task managers off your phone and let android do what it is supposed to you will see much better performance over time. At first you might not see much, that's because the system hasn't learned what apps you use the most yet. Soon it will load most used apps and everything you do will be much quicker and you battery will end up lasting longer because apps are loading from ram not storage. I NEVER use task killers and I have no problems with ram at all. You are all used to the crappy way windows handles ram, this is linux it uses ram COMPLETELY different. Trust me just forget about the task killers, use something like v6supercharger or a boot.img with tweaks built in and forget about it. You will notice over time your phone will be smooth.
It isn't a bug, it is better ram management. If it is a bug then that's a surprise because it is a bug that is doing what linux is supposed to which means the bug is actually helping you.
...fighting ninjas at night, talkin' about this and that.
i'm using v6supercharged v8 with 7 option,but i can't see any different and free ram is still the same.
i saw there is a v9rc4 but i can't install it because i dont know if home il locked in or not.
Thanks For clarifying that Urabewe, was not aware of that, have removed the task manager widget, hopefully my O3D would have a good learning curve

[Q] Info about RAM

HI
Yesterday I bought my Asus TF300T ... awesome but there is one thing I do not understand.
The tablet have 1 GB of ram... but if I go in settings -> application -> Ram in use show 680m occupied, and only 290 free.... strange cause happens at every boot!
So I begin search in this forum for some help, but I was not able to find any specific info about ram consumption....
Now I tried to install a custom Rom based on 4.1.1 (Clean ROM 2.1 ), but nothing has change, the ram consumption is the same as the stock JB version.
Just now i've try to remove some bloatware with TitaniumBackup, reboot but... 650m in use is too hight.
Can I have some information on the consumption of ram? Can I do something to increase the free space? I ask because I saw that some users have more than 600 mb of free space at boot
Thanks for any replies
Mirko
PS sorry for bad english! I hope you undestand :angel:
You can leave it alone for the most. You won't gain anything by having more ram that isn't being used.
This is how Android is meant to work. It caches process and stuff in the background so apps boot quicker. If an app needs more ram, the system will close processes to free some up for you.
mozyman said:
You can leave it alone for the most. You won't gain anything by having more ram that isn't being used.
This is how Android is meant to work. It caches process and stuff in the background so apps boot quicker. If an app needs more ram, the system will close processes to free some up for you.
Click to expand...
Click to collapse
Hi mozy!
Uhm ok but if I want to disable at startup one or more applications/services how can I do that? I undestand that android caches process but I wanna be able to know "what's inside" my ram and exactly how much it take. There's an app for this?
Mirko
mirkonapoli said:
Hi mozy!
Uhm ok but if I want to disable at startup one or more applications/services how can I do that? I undestand that android caches process but I wanna be able to know "what's inside" my ram and exactly how much it take. There's an app for this?
Mirko
Click to expand...
Click to collapse
If you want to disable apps at startup you can download the app: "Autostarts"
from the Android market and for your second question check out the app "AutoKiller Memory Optimizer", also from the google play market

[Q] Moto G too aggressive about freeing memory - related to swappiness setting?

I have had my Moto G LTE xt1045 since they first came out and have been very happy with it except for this issue. It is very aggressive about suspending/killing apps. You notice this when you try to switch back and forth between two apps and find that it is restarting the other app instead of resuming it. It's especially noticeable when switching between a browser and another app. Another example is that I was using navigation and tried to use the NPR app to listen to some programs, but it would only do one or the other.
I realize that the phone only has 1 GB of memory, but it seems over-aggressive at freeing memory - doesn't it? I'd like to hear feedback from others about this.
In my searches for further information, it seems that one thing that can be tuned is swappiness. On my stock phone, the swappiness is set to 60. Have people experimented with different values?
My phone is not rooted yet as I've been reasonably happy with the stock experience. But I'm willing to root if it will allow a solution to this problem.
Thanks!
yaconsult said:
I have had my Moto G LTE xt1045 since they first came out and have been very happy with it except for this issue. It is very aggressive about suspending/killing apps. You notice this when you try to switch back and forth between two apps and find that it is restarting the other app instead of resuming it. It's especially noticeable when switching between a browser and another app. Another example is that I was using navigation and tried to use the NPR app to listen to some programs, but it would only do one or the other.
I realize that the phone only has 1 GB of memory, but it seems over-aggressive at freeing memory - doesn't it? I'd like to hear feedback from others about this.
In my searches for further information, it seems that one thing that can be tuned is swappiness. On my stock phone, the swappiness is set to 60. Have people experimented with different values?
My phone is not rooted yet as I've been reasonably happy with the stock experience. But I'm willing to root if it will allow a solution to this problem.
Thanks!
Click to expand...
Click to collapse
I was facing the same problem, I really hated that it closed the apps so aggressively. This was one of the main reasons I rooted. I don't know about swappiness, but there is a file: sys/module/lowmemorykiller/minfree which handles when the OS will kill different types of apps. If you root and download MinFreeManager you can easily edit this file. If you want more information on this topic, just search for "minfree" here on the forums. After using this app I've been happier with how memory is handled, but of course it is still only 1GB. Also it's worth mentioning that the values in the minfree file are reverted to default on boot. There are workarounds for that, event MinFreeManager has an "Apply on boot" setting, but it doesn't work for me. However it takes like 3 taps to set the values manually.
I hope I could help you.
This sounds like just what I need! What settings have you tried? Have you decided what works best on the moto G?
Thanks!
Sent from my XT1045 using XDA Free mobile app
OK, I've been using MinFreeManager for a bit now and it has solved all my multitasking issues. I used this guide: Fine tuning the MinFree settings (improving on Android's multitasking) with the aggressive settings.
yaconsult said:
OK, I've been using MinFreeManager for a bit now and it has solved all my multitasking issues. .
Click to expand...
Click to collapse
I confirm it works.
Just flashing the Franco kernel won't fix things?
Also the Android one phones with just 1gb memory performs a lot better at multitasking than G
Somebody with the skills should really look into how google is managing ram in that phone.
Seriously it multitasks like a dream.
jaspreet997 said:
Just flashing the Franco kernel won't fix things?
Also the Android one phones with just 1gb memory performs a lot better at multitasking than G
Somebody with the skills should really look into how google is managing ram in that phone.
Seriously it multitasks like a dream.
Click to expand...
Click to collapse
No, the kernel is not the issue. It's a config file on the phone that tells android how much memory to keep free - if you follow the link in my previous post, you can read all about it and understand the issue.
It is a phone setting that Motorola changed in 4.4.4. With default settings, you will find that apps are killed by android when you switch to another app and the first app has to be restarted from scratch when you switch back to it. MinFreeManager fixes the issue - but you have to be rooted to use it. Your Android One just has less aggressive default minfree memory settings.
yaconsult said:
No, the kernel is not the issue. It's a config file on the phone that tells android how much memory to keep free - if you follow the link in my previous post, you can read all about it and understand the issue.
It is a phone setting that Motorola changed in 4.4.4. With default settings, you will find that apps are killed by android when you switch to another app and the first app has to be restarted from scratch when you switch back to it. MinFreeManager fixes the issue - but you have to be rooted to use it. Your Android One just has less aggressive default minfree memory settings.
Click to expand...
Click to collapse
I see. Also one more thing I observed on Android One was that google play services was using 1/4th the ram it uses on my G . there was always 500 mb free ram

Something is killlling my ram. Rouge app? Hacker software?

I kinda frustrated and need some help. My ram is getting eaten by my phone I think it was hacked as my I know my gmail was hacked as some info was compromised. Not sure if linked to shellshock. But I know something is running on my phone as its using 70 to 80% ram I never use that!!. I terrified this is a hacker background app I have wiped to stock image twice but I'm still having issue. I even put in CyanogenMod and it's still happening. Have I been hacked? I ran all security cheetah mobile trend micro all but I can't solve this issue all says everything is ok and apps are ok.
I did use towelroot to originally route but I can't find what's eating the ram. Phone is htcone M8 unlocked with s off. Help please!!!!
yes, for android is open and many apps are using ram and space arbitrarily.
With a few simple adjustments to three settings, you can enjoy the same great speed improvements on your Android smartphone or tablet.
http://bgr.com/2014/03/19/speed-up-android-how-to/
or install some tools to speed up your device
https://play.google.com/store/apps/details?id=com.trustlook.deepcleaner
---------- Post added at 02:17 AM ---------- Previous post was at 02:16 AM ----------
yes, for android is open and many apps are using ram and space arbitrarily.
With a few simple adjustments to three settings, you can enjoy the same great speed improvements on your Android smartphone or tablet.
http://bgr.com/2014/03/19/speed-up-android-how-to/
or install some tools to speed up your device
https://play.google.com/store/apps/details?id=com.trustlook.deepcleaner
or clean master cleaning tools
wangxing said:
yes, for android is open and many apps are using ram and space arbitrarily.
With a few simple adjustments to three settings, you can enjoy the same great speed improvements on your Android smartphone or tablet.
http://bgr.com/2014/03/19/speed-up-android-how-to/
or install some tools to speed up your device
https://play.google.com/store/apps/details?id=com.trustlook.deepcleaner
---------- Post added at 02:17 AM ---------- Previous post was at 02:16 AM ----------
yes, for android is open and many apps are using ram and space arbitrarily.
With a few simple adjustments to three settings, you can enjoy the same great speed improvements on your Android smartphone or tablet.
http://bgr.com/2014/03/19/speed-up-android-how-to/
or install some tools to speed up your device
https://play.google.com/store/apps/details?id=com.trustlook.deepcleaner
Click to expand...
Click to collapse
wangxing said:
or clean master cleaning tools
Click to expand...
Click to collapse
Setting Animations to x0.5 won't help him free up RAM, it's just an illusion that makes it LOOK like it's faster, it doesn't improve anything in real time. Also, apps like clean master etc. disrupt Androids built in task manager and can make even more problems, plus they sit in RAM as well, further taking up space. What I recommend is trying to boot into safe mode (you long press the "Power off" button on screen and then accept to boot to safe mode). The second thing you could do is trying to do a full data wipe and then flash the ROM. After that go to Settings and see how's the RAM doing. If it's full with 0 apps installed, then I'd recommend that you flash back to stock, unroot, and go to a service center.
I would look into seeing what processes are running in the background, what their CPU time and usage are, and what your RAM usage is at.
Here is a good article on the topic that might help you out.
http://lifehacker.com/5847139/the-best-system-monitor-for-android
From Dante's Inferno via XDA Premium HD
Temetka said:
I would look into seeing what processes are running in the background, what their CPU time and usage are, and what your RAM usage is at.
Here is a good article on the topic that might help you out.
http://lifehacker.com/5847139/the-best-system-monitor-for-android
From Dante's Inferno via XDA Premium HD
Click to expand...
Click to collapse
That article's ancient.
pan.droid said:
That article's ancient.
Click to expand...
Click to collapse
Maybe so, but some info in it could be useful. Managing memory and tracking down rogue apps hasn't changed all that much.

Categories

Resources