[Q] Why is Android so crap at managing memory? - Hero, G2 Touch Q&A, Help & Troubleshooting

I'm currently using CronosDroid 2.13 (2.1) and was on Modaco 3.2 (1.5) previously.
Within 10 mins of switching on my phone Taskiller widget reports only 30-35mb of free memory. No problem right? 30mb is more than enough? Wrong. Anytime free memory drops below about 50mb phone gets stupidly sluggish.
I do have 120+ apps installed, but surely you should be able to do that on a platform that has 50,000+ apps available? I know HTC Hero is 1 year old hardware, but hardly obselete.
Is it just me or does Android suck at managing memory? I'm not a dev, but surely memory management is a key part of an OS..?
Is there something I'm doing wrong? Anyone else have this problem?
It's starting to get annoying having to kill all tasks every 15 mins....

BoogWeed said:
I'm currently using CronosDroid 2.13 (2.1) and was on Modaco 3.2 (1.5) previously.
Within 10 mins of switching on my phone Taskiller widget reports only 30-35mb of free memory. No problem right? 30mb is more than enough? Wrong. Anytime free memory drops below about 50mb phone gets stupidly sluggish.
I do have 120+ apps installed, but surely you should be able to do that on a platform that has 50,000+ apps available? I know HTC Hero is 1 year old hardware, but hardly obselete.
Is it just me or does Android suck at managing memory? I'm not a dev, but surely memory management is a key part of an OS..?
Is there something I'm doing wrong? Anyone else have this problem?
It's starting to get annoying having to kill all tasks every 15 mins....
Click to expand...
Click to collapse
You should make friends with dkelley. He has 160+ apps, and after hacre modified Froyd to work for loads of apps, he stopped getting lags.
Not sure what the fix was though, but I'm sure it still carries through to today...

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.

Vibrant app memory confusion

Friends
I have searched on numerous fronts but have never found the solution to my problem. The issue is, on the vibrant I have 2 GB internal memory for app installation, with 512 mb ram (I think) to run the apps, in addition to 16 GB of internal storage for files and what not.
However, having 1.4 GB 'app' memory free currently, whenever I install any further apps, some of the existing apps start to crash/restart whenever I need to use them. For example, I use LPP, and when I install some more apps on the phone, LPP homescreen icons disappear whatever action I do (open an app, use an app, etc), and then they reload for about 15-20 seconds when I go to the homescreen again. I have about 35-55 MB RAM free at any given time.
My question is, why give 2 GB app installation memory when you still cannot use it to install apps since they start giving you all sort of problems? I am running stock t-mobile eclair and have recently rooted my phone.
you know what, i think all you need is a task killer or clean your phone or something.. just find a way to free up some space.. 35-55MB is hella low.
Hmm, whats the normal free ram for stock 2.1 vibrant supposed to be? I have not tinkered around with my phone much so am wondering how it could have gotten low to that extent. All the apps that I use are also well known and from reputable developers...
Got any clues?
dunno when i was running 2.1 i was always at 80-120 free range with apps running..
try getting a task killer and kill all running apps..
also check settings > applications > running services > tap and kill processes you dont need running
This still does not answer my question about why there is 2 GB of app memory available...? regardless of RAM..?
umaronly said:
This still does not answer my question about why there is 2 GB of app memory available...? regardless of RAM..?
Click to expand...
Click to collapse
Incase people want 2 gigs worth of apps? and if i remember right you have 16gigs storage and then 2gigs of that is partitioned for apps
ionic7 said:
Incase people want 2 gigs worth of apps? and if i remember right you have 16gigs storage and then 2gigs of that is partitioned for apps
Click to expand...
Click to collapse
Yeah, but then what about what I wrote in my first post? It does not make sense if you can 'theoretically' install 2 GB worth of apps but renders the phone useless in function?
Anyone who is actually using close to 2 GB worth of memory for apps on vibrant/Galaxy S?? Would love to hear what you have to say.

Is Autokiller Memory Optimizer still relevent?

Is Autokiller Memory Optimizer still relevent? I first learned of it in KaosFroyo v36? I think?
I realize it is not a "killer" the same way most task killers are, and it just adjust the limits of the actual systems ram limits. I am familiar with the way linux handles memory but with newer roms and newer versions of cyanogen coming has anyone noticed a difference with or without it? I will freeze it tonight and see if I notice anything.
I quit using it when I switched to Gingerbread. Don't need it. With Froyo I felt it was necessary.
Sent from my GSBv1.9 ERIS using XDA Premium App
I still use it. Why? Because even with gingerbread there's an obvious difference in available memory with and without it. My memory improves on average 20mb with it vs without it (just random checking it). now I realize that can hurt or help (having something already running in the background serves its purpose for quick access. too much stuff running you used and are NOT going to access anytime soon hurts). overall I havent noticed it hurting performance/speed at all and I'd rather have the free space available for operating apps so I use it. less things running even in background should at least theorically help battery life a little. I dont think its NEEDED by any means but the way I bang app after app it works for me.
I still use it because I've used it since KaosFroyo, and so on the move to GSB I couldn't help but continue to use it. Sometimes it really does help, and sometimes it doesn't make a difference.
I've uninstalled it two days ago. Haven't noticed a difference at all. I've been using GingerTazz12. cm7/2.3 has better built in memory management?
winchendonsprings said:
I've uninstalled it two days ago. Haven't noticed a difference at all. I've been using GingerTazz12. cm7/2.3 has better built in memory management?
Click to expand...
Click to collapse
2.2 definitely has better mem management over 2.1, and 2.3 has even better over 2.2.
Memory Managers are a placebo to me. Why not just let your phone manage things on its own? It's not based on Windows where RAM is key in performance, it just simply knocks out the things you haven't used in a while to give it more room for the next program.
It will really effect your "multitasking" ie switching between apps, because there will be memory left over, just not for the app you just finished using
willwgp said:
Memory Managers are a placebo to me. Why not just let your phone manage things on its own? It's not based on Windows where RAM is key in performance, it just simply knocks out the things you haven't used in a while to give it more room for the next program.
Click to expand...
Click to collapse
The thing is, some of those background apps still running could be poorly optimized and still take CPU and not just RAM. You could be using an app and be good on memory, but you could have some background app taking resources and CPU cycles and possibly slowing your phone down in that manner, as well as draining your battery a bit more than usual.
i havent used it at all and im running gtood gsb2.0
I haven't used any memory optimizer/task killer since the first time I tried xtrSENSE, probably last July. zach.xtr includes scripts for GScript to change Android's built in memory manager settings, although I've since stopped changing any ROMs defaults as far as that's concerned.
I decided to not install any mem managers, autokiller & startup auditor, when I moved to GSB from xtrROM. At this point I feel I don't need autokiller at all. Startup Auditor maybe, but the few that do startup on their own are not causing issues. To me AK has become an option, NOT a necessity!
Sent from my ERIS GSBv2.1 using XDA App

Root S3 to make more free ram available??

If I root my S3 is it possible to make more ram available to me?
With all apps closed I have 650/780 being used so that only leaves me with 130mb of ram.
uf21 said:
If I root my S3 is it possible to make more ram available to me?
With all apps closed I have 650/780 being used so that only leaves me with 130mb of ram.
Click to expand...
Click to collapse
Jesus. There's a huge panic now because the variant has 2 gigs of ram...
http://www.androidcentral.com/ram-what-it-how-its-used-and-why-you-shouldnt-care
You actually have more free, but the android has a lot of it saved for caching, etc. For example, Facebook takes 40 mb, but when I open it only like 5 or 10 mb of the ram shown as "available" is taken away because parts of it are actually open already.
But yes, if you root it, and a developer adjusts the Minfree to a large amount you will have more free but your phone will probably be slower.
Folks need to keep in mind, that keeping RAM free as you would with a Windows based OS, is NOT ideal in Android. Android uses RAM completely differently and it is perfectly okay for your phone to make use of RAM, even for apps you are not currently using.
There's a fair amount of documentation out there about this - do some Google-fu to deep dive further.
Actually I ask because when I was trying to send a picture in whatsapp it kept sayin "try again" but when I closed all tasks in multitask the picture did send. So I'm guessing it is a ram problem.
Also take it easy on Mr. This is my first android phone, I've been using iphone since the 3g and don't know nothing about android..... yet
Sent from my GT-I9300 using XDA
You don't really want to much free ram. If there is to much free ram it means apps are not going in to cache witch will mean really slow app loading times. 200-300mb free is ample for new apps to run, if the OS needs more then its auto memory management will come in to play to free up more if needed, android is a very smart peace of kit
Sent from my HTC One X using Tapatalk 2
if anyone were to choose pre-caching order for faster load times ( usually just by seconds than non-pre-cached) to no random force closes because there is more free memory, they would chose more free memory.
but since the experts have already said android memory doesn't work the same way like windows does, then the best would be a balance between cache and free memory. right? right. that's where official updates and dev fixes come in.

my phone doesn't keep applications active

What can i do to solve that problem?
Thanks
What do you mean with that? What exactly happens when you do what? There is no description of what exactly happens
I guess it's due to low memory killer.
when i start the aplication and then press home to leave it on, after 2-3 minutes when i enter the aplication again to continue, the phone it loads from the begining like i started again
I would say this is normal, Android kicks Apps that you don`t use for some time automatically out of memory, so that you always have enough Ram left to use your current active application. Especially when you open Apps that need a lot of Ram. Android automatically will kick out Apps that are in the background except if they have an icon in the notification centre (That`s why Apps that are supposed to run in the background all have an icon in the notification area). If you want to keep Apps in memory check out the Xposed framework
http://forum.xda-developers.com/showthread.php?t=2130044
I need root for this,right ?
Of course you do. You should also look at custom roms, as they're much more optimized, and that includes also more free ram. Don't expect awesome performance on pure stock rom .
So this problem os not only for my phonw ...?
Android is designed that way to take up almost all Ram available on the device because unused Ram is wasted Ram and when you are running out of memory Android begins to kick out applications that are in the background. That will happen with every Android phone. Maybe in the future when we reach 4 gb of Ram multitasking will have a Windows like feeling where you can leave a application in the background for hours and come back to it and use it as you left it.
And like JustArchi said, yes you need Root for the Xposed framework to work because it changes some stuff in some system files.
On my old wildfire s i never happenes this ... and ny free ram is around 100 mb.is ok?or is a problem with my phone?sorry for noob questios ...
Your old wildfire S was based on Android 2.x I suppose, also with lower resolution, performance etc.
It's like comparing windows 95 to windows 7, windows 95 uses less, guess why.
Actually I have about 300 free ram + zram, so it's about 500 I'd say. And yes I have a lot of apps in the background, including one game .
edu_stoicescu said:
On my old wildfire s i never happenes this ... and ny free ram is around 100 mb.is ok?or is a problem with my phone?sorry for noob questios ...
Click to expand...
Click to collapse
100 mb free RAM is normal. With Android you don't need to worry about RAM ever! The Ram management on Android is very good and it knows exactly when you need more free Ram so it will then kick out applications that are currently in the background.
I killed all apps,freed ram and then i open facebook.then i ptess home button and after 2minutes i go back in fb and ... its loading drom beggining.itsvreally annoying.without root can i do something ...?
edu_stoicescu said:
I killed all apps,freed ram and then i open facebook.then i ptess home button and after 2minutes i go back in fb and ... its loading drom beggining.itsvreally annoying.without root can i do something ...?
Click to expand...
Click to collapse
Nope without Root at least to my knowledge you can't do anything and with Root Xposed Framework is the only way I know of to keep certain Apps in memory.
On the other hand I can't see any disadvantage of rooting a phone, you can always get back to pure stock.
Sorry for offtopic but look at this https://www.youtube.com/watch?v=SFBOnvOR4MA&feature=youtube_gdata_player
Multitasking on the stock TW based rom sucks
Sent from my GT-I9300 using xda premium

Categories

Resources