[Q] Multitasking in Xperia Z Ultra? - Sony Xperia Z Ultra

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"

Related

Best task killer..

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

Can someone explain me few things about running process (startup aps) on Mini Pro

I can't understand something on android system.
When I boot my mini pro, I can see in a (for example) Open Advanced Task Killer lot of aps.. (see attachment)
Now I see Skype in a list of active processes. I do not understand is it now skype active and loaded in system? I asked this because I'm not signed in to skype, and it is configured to not loaded when system boot.
If not in which state are now all this apps?
I have same questions for other few programs, for example Samba file sharing. It is disabled in his config. I mean apk is not freezed. But it is loaded in processes list!
I see that all those aps eat memory, so y question is, is there any solution to disable this aps and load it only when I want to use it, and when I closed them to stayed disable!
Thx for help.
this app are in background.. it dosent effect much your system.. usually it is automatically loaded.. just kill/forcekill the app if you need more memory...
Nothing wrong with it, these programs just autorun in background for functionality purposes.
When you actually start using an app, android will automatically free up memory to make that app work.
Carpe-Dimi said:
Nothing wrong with it, these programs just autorun in background for functionality purposes.
When you actually start using an app, android will automatically free up memory to make that app work.
Click to expand...
Click to collapse
I think you didn't understand me..
These aps using my memory even they are not started and active..
That is the confusion at me!
like i said it just automatically loaded in background, if you want to free up memory you can just kill it...
if it is not being used at all you can just uninstall it.. but be perfectly sure if you uninstall a system app... it will free up memory and save battery life..
paradorx said:
like i said it just automatically loaded in background, if you want to free up memory you can just kill it...
if it is not being used at all you can just uninstall it.. but be perfectly sure if you uninstall a system app... it will free up memory and save battery life..
Click to expand...
Click to collapse
Thx..but, if they using my memory and "app's not running" then I do not understand the purpose why are loaded they?
Is there any solution to load they only when I need it, like in windows system?
I mean, when I close that app that it close fully and my memory freed up!
easyyu said:
I think you didn't understand me..
These aps using my memory even they are not started and active..
That is the confusion at me!
Click to expand...
Click to collapse
I completely understood you
these apps are given memory by the android OS to run in background. there they do simple things such as syncing and checking for updates, or other things that i don't know of. this is functional, because when you open the app, it won't take forever to load and do what u want it to do.
However...
If you open an application (so it actively runs in the foreground) and it needs memory, the android OS will take the memory from your background apps and give it to the foreground app to use.
so, nothing to worry about as it has a functional purpose and won't interfere with your actual phone usage
if you don't want apps to use a lot of memory tho, you could try setting the vm heap size to something lower. (I believe 32M is standard) but this also limits the memory usage of the foreground app.
Carpe-Dimi said:
I completely understood you
these apps are given memory by the android OS to run in background. there they do simple things such as syncing and checking for updates, or other things that i don't know of. this is functional, because when you open the app, it won't take forever to load and do what u want it to do.
However...
If you open an application (so it actively runs in the foreground) and it needs memory, the android OS will take the memory from your background apps and give it to the foreground app to use.
so, nothing to worry about as it has a functional purpose and won't interfere with your actual phone usage
if you don't want apps to use a lot of memory tho, you could try setting the vm heap size to something lower. (I believe 32M is standard) but this also limits the memory usage of the foreground app.
Click to expand...
Click to collapse
Thx for answer..but this still no option for me.
I wanted to "stoped" apps at boot, and just then used it when I need it. And when I exit from some app to free memory and fully exit from android system like in windows systems.
easyyu said:
I can't understand something on android system.
When I boot my mini pro, I can see in a (for example) Open Advanced Task Killer lot of aps.. (see attachment)
Now I see Skype in a list of active processes. I do not understand is it now skype active and loaded in system? I asked this because I'm not signed in to skype, and it is configured to not loaded when system boot.
If not in which state are now all this apps?
I have same questions for other few programs, for example Samba file sharing. It is disabled in his config. I mean apk is not freezed. But it is loaded in processes list!
I see that all those aps eat memory, so y question is, is there any solution to disable this aps and load it only when I want to use it, and when I closed them to stayed disable!
Thx for help.
Click to expand...
Click to collapse
They are running on background and are programmed to start when booting ur phone, some apps like IM+ has the option to disable it, try doing it...
Hope it helps
XxLordxX said:
They are running on background and are programmed to start when booting ur phone, some apps like IM+ has the option to disable it, try doing it...
Hope it helps
Click to expand...
Click to collapse
But most of them have not, and thats the problem!!
For example, skype and many other.

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.

[Q] RAM Usage - Apps opened!!

Well guys, i always listen about the ram used in android is different than windows..
My first question is, why RAM is like 90% used, the phone become slower???
My second question is, Why 99% of apps are always started with phone, when enter in Applications section, and see Running apps, you see millions of apps, or when you enter like, Calculator or Torch or another app details it appears Stop.. WHEN I STARTED IT?
Im now user of Galaxy S Duos, when i have Motorola Atrix using a custom rom named "Neutrino" my ram, after flash it was 80~90 and here in Galaxy S Duos is 390~500 and the max is 685mb so so, than when press clean RAM, it closes a certain number of processes but only 50mb ram max it decreases... Why?? And what can i do about that??
Thanks!!!!
Velcis Ribeiro said:
Well guys, i always listen about the ram used in android is different than windows..
My first question is, why RAM is like 90% used, the phone become slower???
My second question is, Why 99% of apps are always started with phone, when enter in Applications section, and see Running apps, you see millions of apps, or when you enter like, Calculator or Torch or another app details it appears Stop.. WHEN I STARTED IT?
Im now user of Galaxy S Duos, when i have Motorola Atrix using a custom rom named "Neutrino" my ram, after flash it was 80~90 and here in Galaxy S Duos is 390~500 and the max is 685mb so so, than when press clean RAM, it closes a certain number of processes but only 50mb ram max it decreases... Why?? And what can i do about that??
Thanks!!!!
Click to expand...
Click to collapse
First, the Linux system (as Android is based upon) always try to make use of all available RAM. Having unallocated RAM is wasteful, so all RAM not used for apps, is allocated for caches etc, making your device not slower, but faster. When this memory is needed for better purposes such as apps, it is dynamically reassigned.
The other question I'm quite don't get, please clarify it and I'll give it a try. But Android do start and stop apps as it see fit, unnoticed by the user. This is the Android way of resource management, instead of paging/swapping. I.e. Android "swaps" entire apps, not RAM. As a developer, you have to know this, making your app able to handle a restart as transparent to the user as possible.
kuisma said:
First, the Linux system (as Android is based upon) always try to make use of all available RAM. Having unallocated RAM is wasteful, so all RAM not used for apps, is allocated for caches etc, making your device not slower, but faster. When this memory is needed for better purposes such as apps, it is dynamically reassigned.
The other question I'm quite don't get, please clarify it and I'll give it a try. But Android do start and stop apps as it see fit, unnoticed by the user. This is the Android way of resource management, instead of paging/swapping. I.e. Android "swaps" entire apps, not RAM. As a developer, you have to know this, making your app able to handle a restart as transparent to the user as possible.
Click to expand...
Click to collapse
Yes, i know about that but i'm crazy because when my phone is slower i see the ram and it has apparently 500mb used from 680mb total... And i click on Clean, it closes like 20 apps and clean 100~mb aprox. of ram, and the phone becomes faster... That is my question, i know about linux... in galaxy s duos have an option to kill until number of processes you would... But didnt work i think because, i put max to 3 processes but even when i close the apps with back button, like facebook, instagram and another without home button, it stills on memory, taking the phone slower
But thanks for trying help me :victory:
Install this app Greenify search in play store
Sent from my LG-P880 using xda premium
I have it but dont know how to use? I need to select one by one the apps that i want?? :/
It's need root and you need to select the desired app, when your screen turned off for some minutes then greenify force stop your selected app.
If you don't understand try to search in YouTube and xda
Sent from my LG-P880 using xda premium

[Q] Question about RAM

Hello guys, in my Moto E I only have about 200mb of free RAM, that's because of Facebook, Dashclock widget and battery extension, clean master and google search, so I have about 200mb free, is that bad, I mean, I didn't notice any performance issues, it's normal, but do you think it will get laggy eventually and do you think only having 200mb of free RAM is bad?
Thanks.
97pedrocas said:
Hello guys, in my Moto E I only have about 200mb of free RAM, that's because of Facebook, Dashclock widget and battery extension, clean master and google search, so I have about 200mb free, is that bad, I mean, I didn't notice any performance issues, it's normal, but do you think it will get laggy eventually and do you think only having 200mb of free RAM is bad?
Thanks.
Click to expand...
Click to collapse
for me,its bad..use Greenify to stop unwanted background third party apps..
hope Greenify will helps you
Well I rebooted and now have 370mb free is that bad?
97pedrocas said:
Well I rebooted and now have 370mb free is that bad?
Click to expand...
Click to collapse
no ...itz perfectly normal..
even i have 375-450mb free ram....occasionally it goes over 550mb when i manually fc any big app like chrome fb n all. .... otherwise 370 is perfectly normal....
Sent from my XT1022 using XDA Free mobile app
Well now I have around 300mb, the widgets and Facebook take a lot of ram. Also, any idea why clean master is always running in background?
Don't worry about the amount of free RAM you have. Android is designed to use the maximum RAM available to it. Task killer apps may have been useful in Gingerbread but are unnecessary in Jellybean and later versions.For more info read this and this.
Greenify is all you need. If you're rooted and have Xposed even better, you can even make some apps stay in memory so that they won't be killed off.
Ex-Hunter said:
Don't worry about the amount of free RAM you have. Android is designed to use the maximum RAM available to it. Task killer apps may have been useful in Gingerbread but are unnecessary in Jellybean and later versions.
Greenify is all you need. If you're rooted and have Xposed even better, you can even make some apps stay in memory so that they won't be killed off.
Click to expand...
Click to collapse
most usefull post in this topic. free ram is wasted ram, android isn't windows....
Ok I think I got it, I'm not rooted, I'm still waiting for the 4.4.4 update.

Categories

Resources