Memory Usage at Startup - Motorola Droid X2

How much memory do you guys generally see as "available" when you first start up your phone. I generally have 160-180mb of supposedly "used" memory. This is after a root and almost all possible bloatware being removed. Normally I would just figure it'll be freed up when I need it but I have had such issues playing Dungeon Defenders which is memory intensive. Sometimes it plays smooth as a champ, other times it stutters a lot. Other times it freezes during load times.
So is all that memory available and it'll just free it when it needs it? Or is that number unusually high?
Oh also my comic book viewer will force close sometimes on some images, even with its options set to use less memory, and I don't think it takes hundreds of MB of ram to open a zipped 500kb image. Then again I could be wrong.

Memory is used differently on Android than on your PC. Just because you have 100+ megabytes of available memory doesn't mean an application can use all of it. Each app has a hard limit of how much RAM it can use, which I believe is around 16mb but differs from device to device.
If you experience issues when running a game I would check to see what background services are running at the time that could be using up CPU cycles.

Related

Memory leak in Sprint Hero ?

I suspect there is a memory leak somewhere in the Sense UI or or in Android. When I boot my phone and kill all the apps I don't want running, I see 96MB of free ram. But after a day, with the same apps running, I am down to 46MB. This has the result (or so I assume) of making my phone feel more sluggish even though I'm running the same apps. Rebooting fixes all the sluggishness, and the Hero flies. Is anyone seeing the same thing?
I've been using it since launch and haven't had much lag.
You can always try a hard reset if its that bad.
Test it while using regular home and kill sense UI, see if there's a difference.
Well, I only get a lag from time to time. It's just that I noticed this increase in memory usage for no particular reason. I'll try to track down the offending apps if I can. I might try a hard reset though. Can't hurt.
I notice that the browser and my exchange "mail" process freeing up the most memory when I use Advanced Task Killer to "Auto-End" all non-excluded apps every hour.
Once, the mail app was taking up 30mb of RAM. It's not uncommon for the browser to take up 20 or more either. After a while, I also see what you mean, in that when I first start my phone with the same 6-9 system processes I have anywhere from 90-100MB free, and after a while when killing them, I can only get to 75-80 free.
Since I had the Mogul a while back, I tend to watch RAM closely since that phone only had a measly 20 free after boot.
Same Here
I'm seeing the same thing as well. I use TaskPanel X to track memory usage and apps. Likewise the memory seems to slowly decline over time. Additionally even if I kill all the non-critical apps so it is like it was when it booted, I'm still about 30-40MB less than after a fresh boot.

[Q] disappearing RAM

Hello!
I've had the atrix for a couple of days now, and have noticed that some ram is disappearing.
I use advanced task killer, but I don't have it set to autokill. Instead, I just press the widget as a kill button occasionally throughout the day. I haven't modded the application to kill certain things, or to not kill certain things. It is functioning just as it is downloaded.
So in the morning, after a fresh restart, i pressed the kill switch and i had 550 mb of ram (roughly). This was constant for a few hours. then around lunch time, i pressed kill switch and i had 460 something. Than now around dinner time I have only 370 something mb of ram.
Is there something that I'm missing? Like system apps opening throughout the day that are unaffected by task killer?
Anyone have any advice as to managing apps because the atrix (and motoblur) try to run a lot of them.
Also, I thought this phone has 1 GB of ram. I guess some of it is tied up in things behind the curtain
Check the ram usage on your computer, install a few programs that have services that run, then look at your ram usage.
Same thing.
regarding the ram usage. I cant figure out what the phone is doing with 500mb of ram all the time. This os is able to run on other android devices with only 512mb of ram and consistently have 200-300 free mb of ram. What is the Atrix doing with all that ram?
being prepared for docking...
Webtop/media center/ etc...
skaboss610 said:
regarding the ram usage. I cant figure out what the phone is doing with 500mb of ram all the time. This os is able to run on other android devices with only 512mb of ram and consistently have 200-300 free mb of ram. What is the Atrix doing with all that ram?
Click to expand...
Click to collapse
RAM not used is analogous to RAM not present in a way.
Android loads and keeps apps ready in memory for quick launch times. They are just loaded and kept, 0 CPU usage for any of them.
If u want to know more, check the thread 'android memory management' (link in my signature).

[Q] Some games took huge of ram

Examples, Block story max graphics and horizinal and vertical distances are mid but still block story will take so much ram. The last I looked so took more than 200 mb ram some time playing... and still ram usage 578mb out 833mb,but it also began to lag badly. I do not understand why the world's most efficient phone lag even in this kind of games? o.o can someone explain me :S
Ps. And sometimes I have only free memory 171mb and it starts to lag very worse
Try clearing Browser cache
Try to make sure that your Task Manager is completely clear and so all other apps are closed.
Also goto Ram Manager and Clear Memory
Doing all these should free up memory and reduce lag if not completely clear the lag
Hope This Helps
Is that block story optimize for one core processor? that not help anything is core's online one or two.
send a message to the developer of the game he/she/they might be able to assist you much better.

Android OS filling up the ram

Android os taking almost 1 gb of RAM
Is that normal !?
And if not is there a solution?
Seems alright
Mines a little better. about 600MB for OS and and 100MB for System.
I find the phone CAN be very sluggish as well. I think it has to do with the memory as well. Sometimes I start an app (ie. Google voice or ES file manager) and it pops up instantly. Sometimes it pops up but the screen is blank and it literally sits for maybe 5 seconds before anything happens. The camera can be worse. Sometimes even opening the app drawer gives a lag. Android Auto is just always slow. I've found that if I use an app killer and clear out some memory the phone becomes more responsive. Yes, the OS should automatically do this, but it doesnt seem to do a very good job. If I'm starting an app thats not in memory, it should make no difference whether the memory is empty or the OS needs to kill something to make room. Maybe the process of clearing out space in memory has some lag.
My next phone will definately need to have more than 2GB ram. I would switch phones in a heartbeat but I like the smaller form factor and nearly all other phones in the world are bigger.
Regarding facebook, I did this with my older phone because of how bad FB is, there is a "facebook lite" app you can get which is designed for lesser phones. It runs much better but it is more limited.
I'm waiting for a usable nougat rom to try. hopefully that will help
Remove Facebook. Remove Messenger.
Enjoy 150-600MB free RAM throughout your experience.
After nougat I am actually usually hovering around 300-500MB of free RAM at any given time of my day.
Get rid of these two disgusting apps and your phone will be so much better.
I also use FB, but only through the actual Chrome browser, and not the app.
I use 4 messengers - Viber, Skype, Telegram and Hangouts. Their ram and battery usage altogether is LESS Than just the facebook bloatware.
I've attached some screens.
try my
i manage to free up to 1gb free ram with few tweaks and mods to framework on my cooked rom
https://forum.xda-developers.com/z5-compact/development/rom-stock-z5c32-3-0-376r2dau-t3570248
as for fb
use this one
https://forum.xda-developers.com/android/apps-games/app-facebook-chat-enabler-t2934179
Give this a try:
https://play.google.com/store/apps/details?id=com.facebook.lite&hl=en
doesnt seem to have any bloat.
You prob have to sideload it
eng3 said:
Mines a little better. about 600MB for OS and and 100MB for System.
*** Yes, the OS should automatically do this, but it doesnt seem to do a very good job. If I'm starting an app thats not in memory, it should make no difference whether the memory is empty or the OS needs to kill something to make room. Maybe the process of clearing out space in memory has some lag.
***
I'm waiting for a usable nougat rom to try. hopefully that will help
Click to expand...
Click to collapse
You can try to flash AndroPlus kernel + Kernel Adiutor app. I am currently on that build and it's working flawlessly - make sure you tweak the CPU and IO governors and the LMK (minfrees) to your liking. See what works best for you. Note that light LMK settings will make your phone fast after a reboot but slow as hell as time goes by. I have found that Moderate works best (implied anyway) for a good balance between multitasking and free memory
EDIT: This is for stock Nougat.

Low Memory Killer, Zram settings for 2GB Ram

For reference, phone is on lineageos android 8.1, has 2gb of ram (1807mb to be exact). I currently have set zram at 256mb.
From monitoring personal usage, android straight up uses 1gb of ram (it goes as low as 900mb after internal app force kills, and as has a 1.2gb after opening some light apps but no internal app force kills).
For example, I know that if I play pokemon go, it will sometimes kill running background apps (like afwall and betterbatterystats), despite having 'enough ram'.
What I mean by this is, before launching pgo, the os with everything running normally (example- tasker, afwall, betterbatterystats) ram usage will be at 1gb.
After pgo launches, the game will use ~600mb of ram. This should leave a safe 200mb of free ram. However, any time I switch out of the game, android will kill the app despite ~200mb ram is free.
Playing pgo will also sometimes background apps as I mentioned, but it feels completely random. I could be doing the same stuff for 10 mins and it will kill the apps, but sometimes, I could be playing for 20-30mins and no background apps are killed.
I've played around with the LMK settings a bit, and I admit I don't understand the settings despite reading on the little, outdated documentation on it.
I don't know if the 256mb zram counts as reserved/invisible ram, but I did set it at 0 and didn't feel a difference.
I also tried the 'ram management fix' magisk module and again, didn't feel a difference.
tldr - How do you properly set LMK and zram settings. From personal usage, android seems to never use the last 200mb of ram for me and starts killing apps despite having ~200mb of free ram.
My answer may no longer serve you, but I hope to help other people.
As you already mentioned, the lmk cleans several applications before reaching that limit (minfree 200mb) the higher the number ... the more applications it removes, although drastically reducing the values would cause a ram saturation and give performance problems. I recommend that you put these values 9806,14136,17848,21560,24448,28278 and 1gb of Swap by default for 2gb of ram

Categories

Resources