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...
Can anyone suggesr me which is the best task killer available in the market..m using task killer from rhythm software..
Sent from my X10i using XDA App
gupta.anurag08 said:
Can anyone suggesr me which is the best task killer available in the market..m using task killer from rhythm software..
Sent from my X10i using XDA App
Click to expand...
Click to collapse
I'm running on the Advanced Task Killer, I do not have any issues with them. What's your problem?
I tried 2 3 task killers and all were showing different 'available memory'
Sent from my X10i using XDA App
Yeah, ATK is the best task killer app I've been using
gupta.anurag08 said:
I tried 2 3 task killers and all were showing different 'available memory'
Sent from my X10i using XDA App
Click to expand...
Click to collapse
It is because different task killer have different security policy, which allow them to show the system apps or not. So, in the lower security policy, you can see more running apps and gain more memory after kill them
i do have a question. why are you using a task killer?
I'm not having a dig at people that use them, but more trying to educate people that they are not required
"free memory" is not indicative of a healthy system in linux based machines.
please remember the way in which linux based OS's (which Android is) handles memory. Basically, if you have a heap of free memory it is simply wasted, the OS is not running any more efficiently. It is actually slower.
Here is a quick overview. Written for the desktop computer perspective, but translates over to a mobile phone OS quite well.
"Traditional Unix tools like 'top' often report a surprisingly small amount of free memory after a system has been running for a while. For instance, after about 3 hours of uptime, the machine I'm writing this on reports under 60 MB of free memory, even though I have 512 MB of RAM on the system. Where does it all go?
The biggest place it's being used is in the disk cache, which is currently over 290 MB. This is reported by top as "cached". Cached memory is essentially free, in that it can be replaced quickly if a running (or newly starting) program needs the memory.
The reason Linux uses so much memory for disk cache is because the RAM is wasted if it isn't used. Keeping the cache means that if something needs the same data again, there's a good chance it will still be in the cache in memory. Fetching the information from there is around 1,000 times quicker than getting it from the hard disk. If it's not found in the cache, the hard disk needs to be read anyway, but in that case nothing has been lost in time."
Read more here - http://www.linuxhowtos.org/System/Linux Memory Management.htm
So u mean to say that we shud not use task killers?
Wat if i exit a game in btw then wat happens..will it get automatically killed??
Sent from my X10i using XDA App
gupta.anurag08 said:
So u mean to say that we shud not use task killers?
Wat if i exit a game in btw then wat happens..will it get automatically killed??
Sent from my X10i using XDA App
Click to expand...
Click to collapse
Nope, that is the reason why i have to use task killer
For me, it help me save much of battery
Since I stopped using a task killer my battery is better.
Don't use a task killer for a week and watch the difference.
gupta.anurag08 said:
So u mean to say that we shud not use task killers?
Wat if i exit a game in btw then wat happens..will it get automatically killed??
Sent from my X10i using XDA App
Click to expand...
Click to collapse
yes and yes!
if your phone requires the resources, it will kill tasks that are no longer required. its all automatic. let it do it itself and you will have a much happier phone
AND better battery life, because the android OS is not continually restarting processes that your task killer deems unnecessary. I would trust the actual OS over a 3rd party app. It is designed that way for a reason (see my previous post).
mrtim123 said:
i do have a question. why are you using a task killer?
I'm not having a dig at people that use them, but more trying to educate people that they are not required
"free memory" is not indicative of a healthy system in linux based machines.
please remember the way in which linux based OS's (which Android is) handles memory. Basically, if you have a heap of free memory it is simply wasted, the OS is not running any more efficiently. It is actually slower.
Here is a quick overview. Written for the desktop computer perspective, but translates over to a mobile phone OS quite well.
"Traditional Unix tools like 'top' often report a surprisingly small amount of free memory after a system has been running for a while. For instance, after about 3 hours of uptime, the machine I'm writing this on reports under 60 MB of free memory, even though I have 512 MB of RAM on the system. Where does it all go?
The biggest place it's being used is in the disk cache, which is currently over 290 MB. This is reported by top as "cached". Cached memory is essentially free, in that it can be replaced quickly if a running (or newly starting) program needs the memory.
The reason Linux uses so much memory for disk cache is because the RAM is wasted if it isn't used. Keeping the cache means that if something needs the same data again, there's a good chance it will still be in the cache in memory. Fetching the information from there is around 1,000 times quicker than getting it from the hard disk. If it's not found in the cache, the hard disk needs to be read anyway, but in that case nothing has been lost in time."
Read more here - http://www.linuxhowtos.org/System/Linux Memory Management.htm
Click to expand...
Click to collapse
The idea is absolutely right if memory is being used for apps you are likely to open frequently. ATK allows you to unselect the apps you want to keep running. That way you can unselect the ones you use the most and then use the widget to kill everything else.
I notice when I press the home screen many apps don't kill them selfs and after a while I have loads of apps running and the system starts to lag, specially when I try to run something else.
There are advantages in both approaches and I find a mixed combination (available with ATK) makes it best, although the user need to use some common sense to do it right. Killing everything means the system will be more responsive but regularly used apps will take longer to start up. Not killing means the apps you use a lot "startup" faster when you use them repeatedly (as in fact they never stop running) but after a bit the system will lag when using other apps and may need to use pagefile/swap to atone for the lack of free RAM. That causes page faults which make the system even slower.
The iphone developers aren't complete idiots for killing every app. They have a priority for system responsiveness and they did achieve it at the cost of background running apps. I like the possibility to choose what I want to keep running and kill the apps I'm not likely to use again and it's one of the reasons I picked android.
A little Offtopic to both ifanboys and ihaters:
I never owned any apple product as I think of them as over priced. That said I think the iphone has great merit and I doubt very much we would have Android if the iphone didn't pave the way. Besides I jailbreak my brother's 3G and made it multitask enabled. Now it runs apps in background and there is little diference between it and my android. Except for the extra 200€ it cost, the lower hardware specs and expensive service provider contract my brother pays for a mandatory 24 months, while my X10 cost ~65% initially and came free of any contract.
well said, PCO
pco.vaz said:
I notice when I press the home screen many apps don't kill them selfs and after a while I have loads of apps running and the system starts to lag, specially when I try to run something else.
Click to expand...
Click to collapse
Thats what I and others have found, which is why some people choose to use one, myself included. Someone posted a link to an article last week with similar information posted here about the OS handling itself, but the comments section of the article were full of comments similar to what pco and myself have said, so it's all down to personal preference whether or not you choose to use one.
I did use a task killer for a while, then stopped. Personally my phone is better without. I have nothing except weather that updates automatically, I do it manually when I need it.
It is one of those things, just like on a laptop, everyone has different configurations and usage patterns that results will vary.
Sent from my X10i using XDA App
Don't apps exit when you keep hitting the back button? And for games doesn't hitting exit shut down the app?
I thought its a feature that apps don't close when you hit the home button?
gavriel18 said:
Don't apps exit when you keep hitting the back button? And for games doesn't hitting exit shut down the app?
I thought its a feature that apps don't close when you hit the home button?
Click to expand...
Click to collapse
The browser for instance doesn't. Same with many other. I think it's up to each individual developer to program that behavior for his app.
I got Visual task switcher and I notice lots of apps just stay running forever.
Task killer caused probs for me. A daily switch off doesnt hurt, but have run mine for 7 days and been ok. Even a bberry cant do that!
Sent from my X10i using XDA App
Guys, don't use home button to exit apps.
Will just send them in background.
Use the back button... this won't exit (most of) the apps but will put them in a "sleep" state so, next time when you will use it, it will load faster.
So, again, home button will put the app in background, still running.
Test it with an audio player for ex.
Or a browser... send it in background with home button and the player will still play or the browser will still have that page loaded.
With back button, after all views are "closed" the app will close too (well, put in sleep state).
I use ATK only to kill the apps i use once in a while ... the rest of the stuff, is always in memory.
My X10 has usually about 25Mb free
Actually I used ATK to kill application that need to connect to internet, and in my case there is extra charge payment. But after i used ATK I don't notice that the battery live is longer. So I ever ask someone in my thread about after ATK kill applications and so forth....
And somebody told me to quit using ATK and now I realize that the battery last longer than before.
But one thing still bother me is:
Setting - Wireless control - mobile network - mms & data (no checklist)
means: I can not access internet and receive or send mms either.
Actually I only need MMS, not internet.
May be somebody can help me solve this problem.
Thanks.
But my conclusion:
NO NEED ADVANCE TASK KILLER.
After I uninstall ATK, my phone still running smooth and the battery last longer.
May be we just need best Cache cleaner. But I still trying some of that.
@pco.vaz
I don't want to be mean, but you are wrong.
Even those iOS versions that are not multitasking enabled keep apps in memory. Leaving an app on an iPhone resets its UI state and halts its processes, but parts of the app are left in the memory. You can see the difference in loading speed if you decide to reopen it.
There were apps that could show memory usage and clean it on the App Store, but Apple removed them. You can still get them through Cydia and see for yourself how memory management on iTouch devices actually works. Basically the iPhone goes as low as 3-4 megs of free memory and handles it in smiliar way as Android.
On both Android and iOS, apps that are in background are paused after a while and do not use processor cycles. Memory they keep occupying is overwritten if needed by another process.
I do not recommend using task killer to people who do not know what they are doing exactly. Killing even simple processes often causes phone instability and drains battery faster, as others have already said.
If you feel your phone is stalled, perform a simple reboot. There are apps that run in background (in most cases you are warned about this) or are poorly coded that could cause this behavior. Other than that, inbuilt application manager is able to force close apps pretty well, if you need to kill a single app causing problems
Has anyone else noticed that the memory used indicator is showing the opposite amount of used memory under manage applications-running program as opposed to going to HTC task manager widget? It is the exact opposite..mine show only 239mb used and 500mb free. Think htc may have gotten these mixed up?
Yea I was about to ask something similar. Task manager says 674 used 129 free (803 total). In manage apps it says 254 used 472 free (726 total). Clearly one is reporting wrong.
I think is trust android first before the HTC task manager LOL.
Sent from my PG86100 using XDA App
Other task managers I've used agree with HTC. Must be how they calculate available userspace memory.
Every morning when I take my photon off the charger the memory has only about 60mb free. I reboot and it goes back to 451 free. I looked at system panel app and there was no one app that had a bunch of used memory. Oh and I just did a full wipe and a brand new mr3 flash last night. Any help would be great.
joetemp75 said:
Every morning when I take my photon off the charger the memory has only about 60mb free. I reboot and it goes back to 451 free. I looked at system panel app and there was no one app that had a bunch of used memory. Oh and I just did a full wipe and a brand new mr3 flash last night. Any help would be great.
Click to expand...
Click to collapse
Android OS does not operate in the same fashion as Windows. Do not look to free RAM as some sort of performance metric, it'll get you nowhere. This is also another reason why Automated Task Killers are horrible.
In essence, Android intentionally pre-loads apps into RAM as it sees fit. Therefore apps will kick in faster when you actually invoke them. If an active app requires more RAM, the OS will manage itself and toss out a different app as needed.
http://geekfor.me/faq/you-shouldnt-be-using-a-task-killer-with-android/
http://developer.android.com/guide/topics/fundamentals.html
Beknatok said:
Android OS does not operate in the same fashion as Windows. Do not look to free RAM as some sort of performance metric, it'll get you nowhere. This is also another reason why Automated Task Killers are horrible.
In essence, Android intentionally pre-loads apps into RAM as it sees fit. Therefore apps will kick in faster when you actually invoke them. If an active app requires more RAM, the OS will manage itself and toss out a different app as needed.
http://geekfor.me/faq/you-shouldnt-be-using-a-task-killer-with-android/
http://developer.android.com/guide/topics/fundamentals.html
Click to expand...
Click to collapse
Thanks but the problem is that the phone is almost frozen when the memory is gone. when I reboot it the speed is back so maybe it is a different problem
joetemp75 said:
Thanks but the problem is that the phone is almost frozen when the memory is gone. when I reboot it the speed is back so maybe it is a different problem
Click to expand...
Click to collapse
I would suggest focusing your investigation towards CPU consumption & apps that are holding wake-locks then, not necessarily RAM consumption.
Beknatok said:
I would suggest focusing your investigation towards CPU consumption & apps that are holding wake-locks then, not necessarily RAM consumption.
Click to expand...
Click to collapse
Yea that's the thing when I look at system panel the country is low and spare parts doesn't work till I root. Is there any other applications that will show me wake locks?
Sent from my MB855 using XDA Premium App
https://market.android.com/details?id=nextapp.systempanel.r1&hl=en
Monitoring is your friend.
The question - How do you find a memory leak may not be the question that you are looking for.
Beknatok - answered the question correctly to what you were searching for.
There are services that start up on loading or different "Intents". These are actions that cause applications to be involved.
For example, with low storage - IMDB loads. I have no clue why, but the intent is for Low Storage condition run whatever subscribes to that intent.
If you are looking to try to find a memory leak you may have to revert to the debugger -
Try this:
Install Android SDK
Then read the link below
http://developer.android.com/guide/developing/debugging/ddms.html
I use my Z Ultra mostly for playing games, especially Summoners War. And because I'm a guild leader, I use LINE to coordinate attacks with my guildmates so I switch between the game and LINE in certain occasions. The moment I updated to Lollipop, I noticed that I can't do that totally anymore. Once I press home to minimize my game, write a message in LINE then get back to the game, it's already gone and it restarts. It also happens in Kitkat but not only when I have too many background processes running (Email app, Facebook, Messenger, etc.).
I heard there's some memory leak issue with Android 5.0, is that the case here? Is there a way to prevent my game from closing?
If you are using the stock ROM it isn't about the memory leak because Sony has fixed it, it is about Sony services and apps are very resource hungry and they are eating the RAM. You can disable some apps or services (be careful!) which you don't use and thus save some memory. There is a guide in Themes & Apps section with apps that can be disabled, you can follow it to free some RAM.
Regards
teddy74eva said:
Sony services and apps are very resource hungry and they are eating the RAM.
Click to expand...
Click to collapse
... which ones and how much? Because i see here >800 MB reported as free. I suspect neither the game and the messaging software do not use that much.
It's just lollipop being aggressive about killing processes whenever it feels like it>
Also, where did you hear that sony fixed the memory leak?
The memory leak issue is being discussed here.
tsiros said:
... which ones and how much? Because i see here >800 MB reported as free. I suspect neither the game and the messaging software do not use that much.
It's just lollipop being aggressive about killing processes whenever it feels like it>
Also, where did you hear that sony fixed the memory leak?
Click to expand...
Click to collapse
I don't know exactly which apps and how much RAM they use because I don't use stock anymore but facebook and messenger combined can use about 300 MB, not mentioning the game. That 800 MB (although I don't believe it, hard to achieve even on AOSP) is "free" only by its name. More than half of it consists of cached apps which can be closed to free more memory, but it is still being used. You can see it when you go into settings > apps > running and switch the view. And about the memory leak, it is somewhere in Cross-dev section, a thread by Iagucool I think, he had compared some smali files and Sony apparently had fixed the leak in their firmware.
Regards
neither facebook nor messenger are sony's apps.
cached memory is free memory in the sense that it is not used at the moment the system is asked about it, much like any other kind of free memory. That part of memory that is cached, as per android's own description, is available for new processes that ask for memory.
tsiros said:
neither facebook nor messenger are sony's apps.
Click to expand...
Click to collapse
Thanks capitain obvious for pointing it out, I didn't say that they are.
cached memory is free memory in the sense that it is not used at the moment the system is asked about it, much like any other kind of free memory. That part of memory that is cached, as per android's own description, is available for new processes that ask for memory.
Click to expand...
Click to collapse
Erm sorry but no, cached memory is used memory but it can be freed when system is running out of the really free one, so it has an ability to be freed whenever system wants to, thus labeled as "free".
Regards
you said "sony services and apps" eat memory... i asked you which ones... and you said facebook and messenger. Neither of those are sony services or apps.
mind you, "sony services and apps" does not mean the same thing as "apps and sony services"