I was a long time stock user. I feel the stock UI is nice and everything works just great. But the Stock ROM eats up RAM like crazy. I just don't get it. Currently I'm using OpenSEMC. I'm aware AOSP roms are debloated and lighter than stock ROMs but even debloating a stock ROM, multitasking is simply below average on stock ROM. I usually remove all Sony apps(Album, movies, DLNA, Timescape, Small apps, widgets, etc.) along with the usual(Facebook, Twitter, etc.). So I have basically the same apps installed on my Stock ROM and CM ROM. But RAM is so much better handled in CM.
For example, RAM usage on stock ROMS by apps:
Contacts/Dialer - uses around 45-50MB of RAM
Hangouts - always around 50MB
Whatsapp - around 30MB of RAM
Swiftkey - around 45MB
on OpenSEMC, these same apps use
Contacts/Dialer - uses around 20MB of RAM
Hangouts - always around 35MB
Whatsapp - around 20MB of RAM
Swiftkey - around 35MB
I can switch between 5 apps in CM and none of them will get reloaded, at least untill I open a heavy app like Chrome or Google+. Dialer, Whatsapp and Hangouts(my 3 most used apps) are ALWAYS residing in memory. They open instantly and almost never get killed off.
On stock ROM, swtiching between these 3 apps and still the third one will get killed off very soon. I just don't get it. It's like the ROM is giving priority to apps and services I barely ever use, instead of giving it to apps I frequently use.
They are the same apps; why do they consume more RAM on stock(OK apart from the Contacts app)? Why do they get killed off faster? Does anyone have an explanation?
Stock has better ram management but aosp and cm10 have better ram consumption
Aka
Cm10 settings - 34mb
Stock sony - 53mb
aosp - 47mb
Stock is better for ram heavy but it self used alot ofbram cm10/aosp is better for gaming for cpu intensive, not so good for ram but its eficient ram consumption makes overal for better
Apps being killed is a lack of ram, dont use dodgey or poorly designed apps, also avoid intrusive advertising
Also avoid ram cleaners
You could also fix by changing your oom values to be less agressing for killing apps
Related
Is there a particular rom which offers better ram management to allow for apps to stay in the memory longer, and cached apps get less priority?
I'm getting annoyed of apps that are suppose to be running all the time in the notification bar, but they are constantly restarting because the ram gets too low, but in fact, there is enough ram, but it's being taken up by cached apps instead!
Maybe I'm asking too much. Are there ROMS which:
1) offer more ram by being "trim"
2) manage memory better for multitasking
I really wanted to keep this phone stock, but this is pathetic! I feel that my old phone, with a "huge" 256mb ram chip was able to run more software in the background than my GN is! I've stripped all the useful apps off this phone and memory management is still an issue.
isn't the kernel responsible for that and not the rom?
zephiK said:
isn't the kernel responsible for that and not the rom?
Click to expand...
Click to collapse
Good question. I figured some roms are made lighter by removing stuff on it you don't need, and when it's done on a system level, I assumed that less ram would be needed for the os to operate.
Maybe someone can explain this?
Sent from my Galaxy Nexus using Tapatalk
I mean yeah, to a extent.. I'd believe that ROM and Kernel both contributes to it but kernel is the bigger player when it comes to optimizing "RAM."
I use AOKP + Franco Kernel if that helps. No lag problems, never even had it when it came to stock ICS. You'd might want to check your apps and see if there's a bad app causing memory leaks.
EP2008 said:
Is there a particular rom which offers better ram management to allow for apps to stay in the memory longer, and cached apps get less priority?
I'm getting annoyed of apps that are suppose to be running all the time in the notification bar, but they are constantly restarting because the ram gets too low, but in fact, there is enough ram, but it's being taken up by cached apps instead!
Maybe I'm asking too much. Are there ROMS which:
1) offer more ram by being "trim"
2) manage memory better for multitasking
I really wanted to keep this phone stock, but this is pathetic! I feel that my old phone, with a "huge" 256mb ram chip was able to run more software in the background than my GN is! I've stripped all the useful apps off this phone and memory management is still an issue.
Click to expand...
Click to collapse
AOKP and a few other roms have the option to change the minimum ram before android os starts killing background apps. The default is about 80MB I believe. You can decrease it (do not forget to check set on boot), but I do not think it is recommended to go too low.
If you are having low memory issues its probably because of a rogue app. Install System Tuner and check for background apps that use more than ~10-20MB of memory.
Hi guys, so my 3 year old Gnex VZW verison has served me well but I find it just chokes itself so quickly (ram free under 100mb) so I need your help! I have gone back to 4.2.2 stock (rooted and xposed framework) and this is what I find happening,,
In no time flat, 25 apps/services are loaded in memory, I have tried Advanced task Killer, Greenify, smartbooster and none really do the trick. My pain in the butt combination of apps getting stuck in recents menu that I have to clear manually, then advance task kill then greenify just to prevent the Nexus from chocking itself is a chore.
My gnex cannot be the only one that chokes so hard so fast, at no time does it ever have more than 300mb ram free (even after fresh boot) and after just a few minutes of use i'm choking at just under 100mb (to the point things take for ever to load until I clear, clear, clear), so help me obi-wan kenobi, you're my only hope!
Thanks guys!
riz
p.s. i have also used LagFix (fstrim) too
* update, root plus greenify and no task killers installed seems to keep the gnex running pretty decent. Still have to clear out recent apps all the time to free up ram but at least greenify keeps most apps from loading unnecessarily and hogging ram/resources
What I have done are in the past are:
1. I got a Kitkat rom and installed bsmitty's Dirty V Kernel SR (Super Ram) version. It adds (or more like, retrieves) about 60mb of ram, if I am not mistaken. Anyhow, when your phone is chocking like that, 60mb might be the life-saver.
2. Uninstall apps you don't use! At some point, you are installing apps like crazy while not uninstalling the ones that you seldom use... and they end up being memory hogs. This has been by far the best solution for me. My Gnex on the latest Lollipop rom is running comfortably with 320mb rams free max. Most of the time, it runs with at least 200 mb of rams free.
+Apps like FB are especially heavy. Just uninstall them and add them to your bookmarks. I found this effective in terms of releasing ram.
JST99 said:
What I have done are in the past are:
1. I got a Kitkat rom and installed bsmitty's Dirty V Kernel SR (Super Ram) version. It adds (or more like, retrieves) about 60mb of ram, if I am not mistaken. Anyhow, when your phone is chocking like that, 60mb might be the life-saver.
2. Uninstall apps you don't use! At some point, you are installing apps like crazy while not uninstalling the ones that you seldom use... and they end up being memory hogs. This has been by far the best solution for me. My Gnex on the latest Lollipop rom is running comfortably with 320mb rams free max. Most of the time, it runs with at least 200 mb of rams free.
+Apps like FB are especially heavy. Just uninstall them and add them to your bookmarks. I found this effective in terms of releasing ram.
Click to expand...
Click to collapse
I'll look into Kernel SR but you might look into greenify, it allows you to hibernate apps (like Facebook) until the user launches it, you basically can keep all those apps from auto-launching as android allows and keeps them out of memory (automatically) until called upon. The task managers along with greenify were cancelling each other out, task managers would bring things out of hibernation just for greenify to hibernate them, it was a vicious circle until i uninstalled task killer and have greenified only
Screensaver.tv said:
...might look into greenify, it allows you to hibernate apps (like Facebook) until the user launches it...
Click to expand...
Click to collapse
Thanks for the suggestion, I really appreciate it. I have already used it before though, and because I am a light-user, I gained little utility from installing greenify. Hope you figure out a way to get your phone running smoothly without ram-choking.
I'm running a stock Sense 5.0.1 ROM with the ElementalX kernel. For ages I've been annoyed at how apps (the 5th last used and above) require reloading when going back to it. I thought 2GB of RAM would be enough for multitasking of around 9 apps or more. I recently noticed in the running apps screen, in the cached apps menu that it shows ~450mb free and it will always hover around that value no matter which apps have been running or how many.
I was wondering whether this is due to the memory issues I've heard from 5.0 builds of Lollipop, poor memory management of Lollipop or HTC's LMK settings. Is there any way of decreasing the amount of free memory available?
Hi Folks,
I've got the ZE551ML 2.3Ghz/4GB RAM/ 64GB ROM/ USA Version.
I picked up this phone mainly because of the 4GB RAM- I'm sure many of you did the same.
I multitask a lot and would rather not have to quit/close apps and let the memory management handle that.
I've noticed that the default RAM use by the phone (immediately after bootup), is TOO high (about 2GB used), with no background apps but a few background processes running (your FB/ Messenger/ Whatsapp/ Twitter - not too many, just these).
Have noticed that opening several 'light' apps (non- CPU/GPU/RAM intensive apps, fills up the RAM usage significantly). Last night, with less than 50MB free RAM left, the phone froze up and re-booted. This is a sign of very bad coding. Shouldn't the OS be able to kill tasks that have not been recently run to free up RAM?
Do any of you face similar issues? What are your workarounds? I'm aware that ZenUI is extremely RAM intensive itself.
P.S I am aware of 'Memory Leaking Issues'
I get the same. It starts using around 2GB. I had also noticed some apps, like WhatsApp/Snapchat growing to consume 4-500MB over time. That said, it has never froze up on me. I didn't notice Zen UI taking up a lot of RAM at any point, but I started using Nova pretty early on and have frozen most of the ASUS/Zen stuff through Titanium. I'd suggest you root it, if you haven't already, and start freezing out apps you don't use/prevent apps from auto-starting. That helps a lot.
Even leaving 2GB to start with, that's a ton of RAM for multi-tasking, unless you're using especially RAM-intensive apps (aside from the leaking issue). As for a fix, I'm not aware of any yet. We're all pretty much waiting for a new update so we get 5.1.x, where the leak is fixed. Even better, waiting for an AOSP/CM ROM to be released so we can be done with this ASUS stuff to begin with. IIRC there is an Xposed module for the memory leak issue, but last I read it wasn't working (for this device at least).
There must have been some optimizations made with the most recent two updates because the apps I noticed issues with before aren't consuming anywhere near as much RAM as before. WhatsApp/Snapchat are currently using ~220MB combined, whereas before it could get close to 1GB.
Thanks for the Reply.
I'd love to Root the device but unfortunately with corporate email and Mobile-Iron, this is an impossibility. (Consequently even Mobile Iron hogs a portion of the RAM).
Considering that a lot of devices even being released at the moment have 2GB RAM and this is allocated to System resources as well as back-grounded apps. How do those companies manage the memory in half the RAM as the ZF2 (considering they would also face similar memory leak issues)
If you are thinking of RAM usage from a Windows user's perspective, you might be feeling this way. There is no harm in RAM being used. In fact Linux or Android loves caches so much that they fill it up most of the time. And since we have 4GB, why not fill up about 3GB? If a device has lower memory altogether, say 1GB, it will only fill up about 700MB. But of course the memory leaks in 5.0 cause major irregularities.
Bottom line is RAM hogging isn't really an "issue" as far as i am concerned. The issue would be if the RAM does not get released for important tasks and the device starts to lag. But I don't see this happening, so why complain right? However this is just my opinion.
after updating to 2.19.40 my phone also started to consume a lot of ram .....even goes to 645 mb free sometimes
That's perfectly fine. Free RAM is wasted RAM. The OS wants to keep about 500MB or more free because beyond that you do experience slowdown. Above that, it's all gravy.
The system generously allocates that much RAM to itself because it can and to ensure core processes and ZenUI don't slow down. Android caches aggressively so switching between apps will be faster.
Auto-start Manager and Clean Master app, can help free up RAM
Sincerely,
ASUS_USA
This is a new Galaxy Tab Pro 8.4. I rooted it and I'm running Google Now Launcher (supposedly the lightest one). I uninstalled or disabled a lot of apps, starting with Samsung bloatware.
According to CCleaner:
- 1.43GB of 11.76GB of memory used
- 1.2GB of 1.82GB of RAM used
CCleaner says:
- Processes: User: 0 processes, System: 53 processes
Is this normal? Is there any good info on which of the system processes I could disable?
The biggest system processes:
- com.android.keyguard 130MB
- security storage 78MB
- Google Play services 67MB
- Google App 56MB
- Chrome 51MB
- Settings 46MB
- Samsung Keyboard 28MB
- Samsung WatchON 24MB
- Hangouts 24MB
- Search Applications Provider 22MB
- Internet 21MB
- Youtube 22MB
- Google Play Music 20MB
- Google Play Store 19MB
- Google Contacts Sync 19MB
- Flipboard 17MB
- Gmail 15MB
- Google Play Newstand 14MB
- Gallery 14MB
95% of the time, the tablet will be used with DJI Pilot App. I just need this 1 app and access to some internet and app store functions...
Can I disable a lot of the services listed? What is "com.android.keyguard" and "security storage" and "Samsung WatchON"? That would free up 220MB alone.
Any other suggestions to clean up and optimize Tab Pro would be greatly appreciated.
It isn't a PC. Having RAM free does not necessarily (and probably will not) increase performance.
Android manages RAM pretty efficiently. It will clear RAM when it needs it.
If you're so into this free RAM thingy, just disable ALL the Google stuff (because you said you don't use them).
Even more, dive into the world of ROMs and flash CM12.1. With CM I have 1.2GB *free* on startup and >1GB free for everything I do except gaming. TabPRO's 2K screen takes quite some additional resources, or else you'll even be getting 1.4GB free, like what I've seen on my other devices.
Sent from Google Nexus 4 @ CM12.1
[WARNING: XDA Premium 4.0.13+ lacks Signature function - do not update]
redpoint73 said:
It isn't a PC. Having RAM free does not necessarily (and probably will not) increase performance.
Android manages RAM pretty efficiently. It will clear RAM when it needs it.
Click to expand...
Click to collapse
Efficient or not, I'm still left with a tablet that is performing poorly when it tries to run DJI Pilot App.
I disabled animations and uninstalled what I could and I only run the DJI App with Airplane Mode because any notifications create lag - and it makes a big difference. But it's still not that good, and I'm looking for other areas of improvement. If not RAM, then where else do you think I should focus?
CM12.1 as AndyYan suggests?
I just need to run this one App and I need to run it well...
witold123 said:
CM12.1 as AndyYan suggests?
Click to expand...
Click to collapse
Yes, I would agree with the suggestion. The stock TouchWiz is a laggy piece of crap. It drove me crazy how laggy it was with just normal usage (launcher, browsing, etc.) and CM12.1 is much much better.
You could try to disable Sasmsung's DVFS. (by rooting, installing xposed and Sasmung DVFS disabler from the Play Store "https://play.google.com/store/apps/details?id=ma.wanam.dvfs&hl=nl".
Don't know if it will improve things but it seems like Samsung somehow limits CPU & GPU after heavy load.
Don't know if it has any negative effects. Maybe some battery life impact.
Thmz159 said:
You could try to disable Sasmsung's DVFS. (by rooting, installing xposed and Sasmung DVFS disabler from the Play Store "https://play.google.com/store/apps/details?id=ma.wanam.dvfs&hl=nl".
Don't know if it will improve things but it seems like Samsung somehow limits CPU & GPU after heavy load.
Don't know if it has any negative effects. Maybe some battery life impact.
Click to expand...
Click to collapse
Folks have stated that disabling Magazine UX and using a different launcher also help with the lag.
Honestly, though, unless you are a fan of the Samsung features; CM12.1 not only puts you on Lollipop, but just a better experience overall.