Z3C 5.02 stock Memory leak or something else? - Xperia Z3 Compact Q&A, Help & Troubleshooting

I know that there was a memory leak issue with 5.02 but it's apparently fixed before the fw was deployed:
http://forum.xda-developers.com/crossdevice-dev/sony/clarification-xperia-lollipop-fix-t3087240
So that doesn't help explain my issue. Very often, when I have any combination of Spotify + Google Maps, Spotify + Chrome, Chrome + Google Maps, etc open, the app that's in the background will just flat out close. It's stupidly annoying while driving when my music just dies, or when my navigation disappears and I miss my turns because I don't hear any audible alerts. The issue goes away after a fresh restart, and will come back usually within a day or two.
I did not have this issue on 4.4.4.
My free ram hovers around 500-600MB at all times.
RAM status today
RAM Status after fresh restart
I absolutely hate why nothing can be properly backgrounded like in iOS. The moment I press the home button or switch apps, all my open tabs in Chrome have to be reloaded. Filling out forms in a Chrome tab while referencing another app is almost impossible... This was actually an issue on 4.4.4 as well as 5.02. I have not found any way to fix this, no matter how many times I restart my phone. I don't think my old Galaxy S3 had this problem...
Why does Android make us work so hard for a properly working phone, if we can even have that at all? As a consumer I should not have to go through 7 levels of technical hell to make a phone work properly. This isn't Linux.
Sorry for the rant. Anyone know what I can do to fix this? Everyone says RAM clearing apps are bad. So that's not an option right?

.726 has this problem and as far as I can recall it was pretty serious. Fortunately in .26 the problem has been solved. It's about memory management in lollipop being poor rather than memory leak.

.26 hasn't been released for D5803 USA right? I don't see it in the firmware thread
Still doesn't explain the Chrome issue. Whenever anything is backgrounded (not closed) in Chrome, all my tabs have to be reloaded. Most of the time now, even just switching from one tab to the next within Chrome while it's open forces a refresh of the tab. WTF

I never had any memory leak issues with any of the firmwares. Try to turn off Stamina mode just to see if it is affecting (I have it off, and queue background data off as well). Make sure also you have not enabled Developer Options and checked the setting 'Don't keep activities' or some other setting that limit the amount of process you can have in the background.

Dev options are not enabled. And stamina only kicks in at 50% battery. I could turn off que data but does that have anything to do with RAM?

I just called Xperia tech support and they suggested I do this:
http://talk.sonymobile.com/t5/Xperi...uctions-using-Pc-Companion-Win-or/td-p/249946
Has anyone done this and fixed the issue?
I am apparently not the only one who has had this problem:
https://www.reddit.com/r/SonyXperia/comments/356f80/z3c_502_stock_memory_leak_or_something_else/

There's an Xposed module called App Settings that lets you force the OS to keep stuff resident in memory. Because it's an Xposed module, I have no idea if it's compatible with LP or not. Also, there's a point where you can run out of memory and experience involuntary restarts if you keep too many apps resident. Still, it's worth trying, imo.

I was told that the memory leak wouldn't be fixed until 5.1 or even 5.1.1

726 did indeed have this problem. i used the xposed module for the memoryleak fix and it did indeed work...phone was much faster.
People are saying sony phones do not have the leak but the leak affects each phone in slightly different ways.
I the new .28 USA firmware running on my phone now and it is working rather well. granted i still have the lollipop memory fix module activated but i will do some testing with it off as well.

Nope, the problem is not solved in any lollipop firmware, atleast for me. I tried all the latest, reflash and wiped all (Included Internal Data) and the problem still here. Is Ridiculous how with 2GB RAM I can´t have atleast 4 apps opened without the preocupation of they get killed for itself. I remember with my Nexus 7 Tablet in Android 4.3 had a looot of apps opened and no one get killed itself, it was a great multitask experience that I can't get yet in Xperia Z3 Compact. I tried edit minfree values, uninstall apps, change firmwares, edit services.jar, install tweaks, edit my build.prop, etc. Also I noticed with the Task Manager of System Tuner app that "/system/bin/mediaserver" is always eating more than 60mb of Ram, this is since kitkat and continues to happen in Lollipop, after of some hours, this same process can take up to 160 - 200 mb of RAM!!! The worst thing is that in other devices this process don't seems to take a lot of Ram as in Z3 Compact did. Idk, it would be good that we can improve multitask in this device.
I compared the /system/bin/mediaserver usage with a Samsung Galaxy S4 Mini and it only takes 5 mb of RAM while in Xperia Z3 Compact it always start eating 50 mb of RAM and it increases up to 160 - 200 mb in some hours. You can see my proofs here:
http://forum.xda-developers.com/showpost.php?p=60569610&postcount=9
So Idk what to do now, I hear that the only good devices that take importance in multitasking are HTC M9 (M8 and M7 too) and the Asus Zenphone because they merged their own patches to ART to improve a lot how multitasking is managed in android. I think sony do their devices to kill apps very agressive, so in this way they can presume that his device is more smooth than others but useless for multitasking. Weird...

iFlasher said:
Nope, the problem is not solved in any lollipop firmware, atleast for me. I tried all the latest, reflash and wiped all (Included Internal Data) and the problem still here. Is Ridiculous how with 2GB RAM I can´t have atleast 4 apps opened without the preocupation of they get killed for itself. I remember with my Nexus 7 Tablet in Android 4.3 had a looot of apps opened and no one get killed itself, it was a great multitask experience that I can't get yet in Xperia Z3 Compact. I tried edit minfree values, uninstall apps, change firmwares, edit services.jar, install tweaks, edit my build.prop, etc. Also I noticed with the Task Manager of System Tuner app that "/system/bin/mediaserver" is always eating more than 60mb of Ram, this is since kitkat and continues to happen in Lollipop, after of some hours, this same process can take up to 160 - 200 mb of RAM!!! The worst thing is that in other devices this process don't seems to take a lot of Ram as in Z3 Compact did. Idk, it would be good that we can improve multitask in this device.
I compared the /system/bin/mediaserver usage with a Samsung Galaxy S4 Mini and it only takes 5 mb of RAM while in Xperia Z3 Compact it always start eating 50 mb of RAM and it increases up to 160 - 200 mb in some hours. You can see my proofs here:
http://forum.xda-developers.com/showpost.php?p=60569610&postcount=9
So Idk what to do now, I hear that the only good devices that take importance in multitasking are HTC M9 (M8 and M7 too) and the Asus Zenphone because they merged their own patches to ART to improve a lot how multitasking is managed in android. I think sony do their devices to kill apps very agressive, so in this way they can presume that his device is more smooth than others but useless for multitasking. Weird...
Click to expand...
Click to collapse
Hmmm, idk. My GPE m8 on 5.1 is experiencing these same symptoms. Super annoying to have my music cut out in the middle of a workout. ?
I play with my food

I referring to HTC M7, M8 and M9 with Sense, because they get own HTC patches. Well, is what I hear, and also I see some tests in YouTube and the multitask is very good.

jerflash said:
726 did indeed have this problem. i used the xposed module for the memoryleak fix and it did indeed work...phone was much faster.
People are saying sony phones do not have the leak but the leak affects each phone in slightly different ways.
I the new .28 USA firmware running on my phone now and it is working rather well. granted i still have the lollipop memory fix module activated but i will do some testing with it off as well.
Click to expand...
Click to collapse
Any feedback on how .28 is running compared to .726 with the xposed fix?
Like many, I uninstalled the fix after I read the thread pointing out that having it active was pointless as Sony had already fixed the memory leak themselves, but after reading your reply, I decided to reinstall and sure enough, my phone does seem snappier. Having read the changelog for .28, it didn't seem worth upgrading unless performance was noticeably better.

I will tell you im enjoying .28 with the fix running. There are enough fixes in there to make it worth it i think
Sent from my D5803 using Tapatalk

No issues on 23.1.A.0.726 here, I have averagely 250 MB more free RAM on Lollipop than on Kitkat, with all the same apps installed. :good:

Guys, the problem is not how many ram do you have, the problem is if you can multitask some apps without someone get killed. I can multitask within 2 or 3 apps sometimes, but I can't get more than that without someone gets killed...

It was to be expected that Lollipop in Sony devices would be problematic. For the time being, I prefer to stay in KitKat and then make the jump to 5.0.2.

framerper2 said:
It was to be expected that Lollipop in Sony devices would be problematic. For the time being, I prefer to stay in KitKat and then make the jump to 5.0.2.
Click to expand...
Click to collapse
Lollipop on Xperia started off at 5.0.2

degraaff said:
Lollipop on Xperia started off at 5.0.2
Click to expand...
Click to collapse
And nobody said otherwise. I said that I prefer staying in KitKat until the Lollipop update is better to making worth the jump

Related

Multitasking issue - Apps getting killed in background almost immediately

I'm a really big fan of the look and feel of this phone, but I have noticed an alarming issue. It reminds me of the original HTC One that only had 1GB of RAM.
If I test it side-by-side with my OnePlus One, LG G3, or Note 4, I get the same results: Clearing all apps from memory and then systematically opening the same apps on both phones, if I multitask back to any of them on the Moto X, they have to completely reload. Every Chrome page reloads, too. I have also noticed that Nova launcher redraws with regularity, even when I check the option to force it to stay in memory.
My question is: Was it this bad on 4.4.4? Or is it a Lollipop issue? Because I updated to 5.0 right out of the box and if rolling it back will fix this, I'm all for it. There's no excuse for apps reloading this frequently on a modern smartphone with 2GB of RAM.
That's a Lollipop issue. No such problems on KitKat.
_MetalHead_ said:
That's a Lollipop issue. No such problems on KitKat.
Click to expand...
Click to collapse
Thanks, dude. Looks like I'll be rolling back.
greyhulk said:
Thanks, dude. Looks like I'll be rolling back.
Click to expand...
Click to collapse
Yep, no prob. That's why all my devices are still on KK.
Flashed back to Kitkat. Memory management is definitely worse on 5.0, but even 4.4.4 kills apps faster than it should. Even with 1GB available most of the time, apps have to refresh much more often than they should.
Testing Methodology:
Side-by-side with OnePlus One
Open the same 7 apps on both phones (Dialer, Feedly, Reddit Sync Pro, Chrome to androidcentral.com, camera, Nine email client, messaging)
Cycle back and forth between apps using multitasking button on both phones
Observe app reload instances
Results: The OPO NEVER reloads anything. My Moto X will be fine for the first 3 or 4 apps, then it will reload the app completely, including androidcentral.com on Chrome. And if I have multiple tabs open in Chrome, it's worse. Yes, the OPO has 3GB of RAM, but there is still 1GB free on the Moto X when I perform this test, so there's no reason it should be actively killing the apps that quickly.
That being said, it is markedly better than on 5.0. Nova launcher NEVER redraws now, whereas it did constantly before. And I was never even able to cycle between two apps without one of them reloading. Still, I wish it handled memory a little better. This is eerily similar to the issue that plagued the original HTC One and it drove me to sell that phone.
I'm not here to bag on this phone. I'm a huge fan. I just want people to be informed.
greyhulk said:
Flashed back to Kitkat. Memory management is definitely worse on 5.0, but even 4.4.4 kills apps faster than it should. Even with 1GB available most of the time, apps have to refresh much more often than they should.
Testing Methodology:
Side-by-side with OnePlus One
Open the same 7 apps on both phones (Dialer, Feedly, Reddit Sync Pro, Chrome to androidcentral.com, camera, Nine email client, messaging)
Cycle back and forth between apps using multitasking button on both phones
Observe app reload instances
Results: The OPO NEVER reloads anything. My Moto X will be fine for the first 3 or 4 apps, then it will reload the app completely, including androidcentral.com on Chrome. And if I have multiple tabs open in Chrome, it's worse. Yes, the OPO has 3GB of RAM, but there is still 1GB free on the Moto X when I perform this test, so there's no reason it should be actively killing the apps that quickly.
That being said, it is markedly better than on 5.0. Nova launcher NEVER redraws now, whereas it did constantly before. And I was never even able to cycle between two apps without one of them reloading. Still, I wish it handled memory a little better. This is eerily similar to the issue that plagued the original HTC One and it drove me to sell that phone.
I'm not here to bag on this phone. I'm a huge fan. I just want people to be informed.
Click to expand...
Click to collapse
Actually WOW. I made same comparison with N5 running 5.0.1. And Moto X is worse.. I'm surprised nobody noticed that fact earlier or in the reviews. If L on X is worse than KK I am definitely not updating. Love that phone, it's such a bummer that memory management is so aggressive.. But it's behavior on KK is little bit wired and different than L. Apps running in the background like for example last pass, are always there. And on L those were the ones to kill in the first place.
k_myk said:
Actually WOW. I made same comparison with N5 running 5.0.1. And Moto X is worse.. I'm surprised nobody noticed that fact earlier or in the reviews. If L on X is worse than KK I am definitely not updating. Love that phone, it's such a bummer that memory management is so aggressive.. But it's behavior on KK is little bit wired and different than L. Apps running in the background like for example last pass, are always there. And on L those were the ones to kill in the first place.
Click to expand...
Click to collapse
Thanks for confirming. Usually when I post something like this, people reply and tell me I'm crazy or that their phone "multitasks fine".
Assuming that it's intentional, the only reason I can think Moto would do this is for battery life reasons (so nothing is running in the background draining), since it has a smaller battery. The other possibility is that they did it for the Moto G, which has 1GB of RAM and then just used the same image for both phones for the sake of consistency.
Either way, it's disappointing, especially after using the OPO and seeing the difference side-by-side. Really love this phone, but this bothers me more than it should.
I've noticed L is worse on the X versus my N5 as well. Navigating with maps and playing google music in the car is a nightmare.
Is this supposed to be fixed in 5.1?
I'm surprised not to see more posts about this issue. I've been noticing on my own phone that whenever I launch chrome or Google maps it tends to kill anything else that's running in the background (pocket casts, swipe pad, smart lock, stock launcher, etc.) it basically makes for a pretty unpleasant experience. Does anyone know if this is supposed to be fixed in 5.1?
I can confirm this issue too. Just to add more monitoring tool when you want to check the memory when such thing happens: developer options>>process stats>>duration 1 day>>click on the green bar and note the timing for which the memory was critical. I think the system deems the memory to be critical when it passes 1gb and starts to kill apps in the background. It never used to be like this on 4.4.4.
Please help contribute if you have any knowledge about using these stats.
Edit: i also noticed that during the time the memory was critical, the battery level dropped like a stone from 65%-55%. So i think its all also connected to the battery consumption being too much at times.
Sent from my XT1092
Her'es my figures (phone uptime: only 17h)
Very bad I guess:
CoolRaoul said:
Her'es my figures (phone uptime: only 17h)
Very bad I guess:
Click to expand...
Click to collapse
OMG that is pretty bad! Was your phone going wonky at that time? I mean battery life and apps crashing etc
Sent from my XT1092
grubber24 said:
OMG that is pretty bad! Was your phone going wonky at that time? I mean battery life and apps crashing etc
Click to expand...
Click to collapse
No crashes nor battery drain but many launcher restarts.
I've now uninstalled an app ( "Lazy Swipe" which was on the "top" list) and seen a little improvement (no more launcher restart for the last 3 hours)
I plan to investigate a bit further, I may have another potential culprit (HeadsUp which I'm only using in car dock mode but appear to consume a lot of RAM and is running all of the time)
**EDIT**
BTW, I'm not running very memory intensive app like games.
CoolRaoul said:
No crashes nor battery drain but many launcher restarts.
I've now uninstalled an app ( "Lazy Swipe" which was on the "top" list) and seen a little improvement (no more launcher restart for the last 3 hours)
I plan to investigate a bit further, I may have another potential culprit (HeadsUp which I'm only using in car dock mode but appear to consume a lot of RAM and is running all of the time)
**EDIT**
BTW, I'm not running very memory intensive app like games.
Click to expand...
Click to collapse
Yeah unfortunately even when there is so much ram and you cant use many apps. I you wish you can report this to motorola on their forum. I have created a thread there: https://forums.motorola.com/posts/115c66d6c7
Sent from my XT1092
After having uninstalled HeadsUp I've noticed a significant boot in responsiveness.
I'm going to keep an eye on memory stats for the next few hours
CoolRaoul said:
After having uninstalled HeadsUp I've noticed a significant boot in responsiveness.
I'm going to keep an eye on memory stats for the next few hours
Click to expand...
Click to collapse
I would suggest observing these for a full day without restarting. Then report to motorola. For me it was google plus updates causing the issue with memory. When i uninstalled updates it stopped. So also check the timing for which the apps are running in Application settings>>running. If the time for which the app is running is lesser than the total uptime, it might be your suspect.
Sent from my XT1092
grubber24 said:
I have created a thread there: https://forums.motorola.com/posts/115c66d6c7
Click to expand...
Click to collapse
I was already subscribed to that thread. But since my memory issues are pretty new, I prefer to start investigating by myself

[Q] Memory Leak

Is there currently any ROM and/or Custom kernel, that doesn't suffer from the memory leak bug?
I am aware that similar questions come up on every other thread.
I also would love to try for myself. Stock KitKat and stock lollipop both suffer from the bug. On lollipop I have much more free ram, but chrome and other apps still redraw when multitasking.
Problem is, I don't want to unlock my bootloader yet, as I'm still considering giving back the phone.
Thanks in advance for any insightful advice.
ratyfu said:
I am aware that similar questions come up on every other thread.
...
Problem is, I don't want to unlock my bootloader yet, as I'm still considering giving back the phone.
Click to expand...
Click to collapse
You seriously want an answer to that?
Just read "every other thread", then come to a conclusion and act accordingly. Or don't, since you don't want to unlock. Your choice.
doppelhelix said:
You seriously want an answer to that?
Just read "every other thread", then come to a conclusion and act accordingly. Or don't, since you don't want to unlock. Your choice.
Click to expand...
Click to collapse
I've been reading "every other thread".
And yes, I seriously want an answer to that.
I never said, that I didn't want to unlock my bootloader, eventually I do want to unlock it. But according to your reply, I suppose you don't understand that. Nevermind.
Thanks, anyway.
Titan Prime will yield you the best results with memory, from my experience.
Besides that, all you can do is sit and wait for 5.1. And hope that it will fix the problem.
I've got a (german) XT1068, and I was on build RETDEALL 21.85-14 for the longest time (KK 4.4.4). The phone was sometimes close to unusable due to the memory issues: Almost every time I went back to my launcher (Nova) the widgets would reload (all two of them), every 5th time the whole launcher would have to be restarted. When listening to music, the player would often be killed when it's not the foreground app. This all was already with tuned settings and the like. Simply put, my Galaxy S2 was a much better phone, with better performance and multitasking (same amount of ram, but dual core only)...
I've updated to the 5.0.2 build that was (finally) released a few days ago (22.46-28). It's a world of difference. I would say the problems are either gone or at least they got the biggest of issues under control. So far I haven't had it running without a reboot for multiple days (installing xposed and associated modules tends to require reboots), but so far everything is looking perfectly fine. Widgets haven't reloaded even once, let alone the launcher. Multitasking works, even larger apps weren't killed (like reddit news, which tends to use quite a bit of ram after scrolling for a bit).
So I don't know whether it's fixed, but at the very least this is a fully-stock-option that works perfectly fine (for me), even though I'm rooted and use XPosed that is by no means necessary.
I also have the German OTA update. Everything works fine. As for the memory leak for me that is a thing of the past, was really bad in 4.4.4 and I had the same version as the above poster. Everything stopped in the background, in point of fact there was no multitasking. With 5.0.2 I can play music run a navigation app, surf the net no problem and still see over 400Mbyte free ram in setting all without the dreaded app has stopped working or seeing apps restarting.
Roldorf said:
I also have the German OTA update. Everything works fine. As for the memory leak for me that is a thing of the past, was really bad in 4.4.4 and I had the same version as the above poster. Everything stopped in the background, in point of fact there was no multitasking. With 5.0.2 I can play music run a navigation app, surf the net no problem and still see over 400Mbyte free ram in setting all without the dreaded app has stopped working or seeing apps restarting.
Click to expand...
Click to collapse
4.4.4 didn't have a memory leak, just high minfree values I think.
Lollipop does have a memory leak (and thats mostly googles fault) and the memory management is very buggy when compared to kitkat. The memory leak doesn't show instantly, it shows after some time and you can just reboot the phone to "solve the problem".
If you want a really good rom for multitasking I recommend CM 11 or some rom based on it.
4.4.4 definitely has some serious issues on the MotoG, it was not just the min free values. I had tuned those (basically tried everything), but it made no real difference. So far, LP feels like it's a different phone.
I agree. I can't understand how people would go back to KitKat after trying lollipop. Chrome and other apps still redraw when multitasking though. :\
Let's see if 5.1 fixes that.
BTW: does anyone get graphic glitches in Tapatalk and chrome? Sometimes whole areas of the screen turn glitchy, until I switch to another app or press the back key. (Glitchy= pixels in all colours, like an overheated GPU on a PC would produce.)

Android 5.1.1 LMY48B finally the memory leak is solved!!

After 8 months google finally fix the memory leak in android lollipop. Thanks :crying::crying: Am I dreaming?
Having the memory load increasing is not, in itself, a memory leak.
The Nexus 5 comes with 2 Gb of RAM, the goal is not to have memory load below 300 mb in every case (or you can buy a 512 mb-RAM smartphone)
The leak is a bug in memory management which increase memory load without any limit, thus slowing the device and crashing it. I did not experience this under 5.1 with Franco and stock kernel.
I can confirm that franco kernel does not solve the issue. For me the issue is easily reproduced by opening farm heroes saga and swiping it away, After a couple of times the system ram goes up to 1.4gig
jzviagin said:
I can confirm that franco kernel does not solve the issue. For me the issue is easily reproduced by opening farm heroes saga and swiping it away, After a couple of times the system ram goes up to 1.4gig
Click to expand...
Click to collapse
This is kind of interesting. I wonder if the system management is to blame or apps themselves.
jlmcr87 said:
I found a solution. If you change the kernel (for example Franco kernel) all problems are solved.
Click to expand...
Click to collapse
did you write about this in bug tracker ? if not plz write so they can look where need to change some thing.
and btw to be frank i'm not having any memory leak or any other buy on 5.1 and i feels everything even better than KK also battery life is as good as KK after 5.1 for me
and finally did you do factory reset After flashing factory image ? if not do it , it seems unnecessary to lot of ppl to F.reset after fresh install but it does solve many problem so do it if you didn't and remember it for every time you flash the rom :good:
Issue stared and '+1 confirmed'.
Can someone mark the bug as critical?
jineshpatel30 said:
did you write about this in bug tracker ? if not plz write so they can look where need to change some thing.
and btw to be frank i'm not having any memory leak or any other buy on 5.1 and i feels everything even better than KK also battery life is as good as KK after 5.1 for me
and finally did you do factory reset After flashing factory image ? if not do it , it seems unnecessary to lot of ppl to F.reset after fresh install but it does solve many problem so do it if you didn't and remember it for every time you flash the rom :good:
Click to expand...
Click to collapse
The same problem with franco kernel, bad luck.
To recreate the problem, simply start a game like Farm Heroes Saga, then close it by swiping away. For each time I do this the system memory increases 100mb or more until there is no more space and then cell phone stops responding. Additional I noticed than when I start Farm Heroes Saga for example the free memory on ‘Show Cache Processes’ is negative as can be seen on the print I took, and there is no free memory, this problem can be recreated even in the first minute after boot simply by starting the game.
i don t know if is due to the memory leak but after 3 days (fresh factory image flash) i m facing the annoying launcher redraw and high system memory usage:780 mb with 1,2 gb of peak
jlmcr87 said:
The same problem with franco kernel, bad luck.
To recreate the problem, simply start a game like Farm Heroes Saga, then close it by swiping away. For each time I do this the system memory increases 100mb or more until there is no more space and then cell phone stops responding. Additional I noticed than when I start Farm Heroes Saga for example the free memory on ‘Show Cache Processes’ is negative as can be seen on the print I took, and there is no free memory, this problem can be recreated even in the first minute after boot simply by starting the game.
Click to expand...
Click to collapse
I dont want to create a seperate thread so I am asking here. Got Nexus 5 a few days ago, started reading about 5.1 update and memory leak issue. Tried to update to 5.1 but gave up(usb driver issue). Today I noticed that ram usage for apps increases and does not drop down after shutting down apps (games mainly). System ram is constantly about 300-400 but app ram got from 300 to over 600 in about 6 hours. Is this also a memory leak or maybe apps just do not completely shut down?
Memory going up does not mean there is a memory leak, it means memory no longer in use has not yet been garbage collected which is fine.
Yes, I wouldn't go purely on what the stats say in Settings > Apps > Running.
I haven't made my mind up yet - memory usage according to that screen is even higher than it was on 5.0.1 yet apps aren't killed anywhere near as often. Of course, it's early days though.
It's been said before, but sadly the new "norm" is now becoming 3GB RAM for high-end devices... and most new versions of Android are going to aimed at running best on the new handsets. I suppose that's to be expected.
surrealjam said:
Yes, I wouldn't go purely on what the stats say in Settings > Apps > Running.
I haven't made my mind up yet - memory usage according to that screen is even higher than it was on 5.0.1 yet apps aren't killed anywhere near as often. Of course, it's early days though.
It's been said before, but sadly the new "norm" is now becoming 3GB RAM for high-end devices... and most new versions of Android are going to aimed at running best on the new handsets. I suppose that's to be expected.
Click to expand...
Click to collapse
Isnt suppost Linux do same memory management with 2GB or 3GB of Ram?
Wich leads me to if KK,JB and ICS didnt had this memory leak problem how come this happens in LP?
That is one thing that I dont understand....
surrealjam said:
Yes, I wouldn't go purely on what the stats say in Settings > Apps > Running.
I haven't made my mind up yet - memory usage according to that screen is even higher than it was on 5.0.1 yet apps aren't killed anywhere near as often. Of course, it's early days though.
It's been said before, but sadly the new "norm" is now becoming 3GB RAM for high-end devices... and most new versions of Android are going to aimed at running best on the new handsets. I suppose that's to be expected.
Click to expand...
Click to collapse
Of course it is,just to force older phones users to buy new high end Android smartphones with more RAM. Now 3GB of RAM s getting standart,next year 3GB of RAM will get too little and 4GB of RAM will become a standart and so on..This is how marketing works.
My N5 (Factory Reset then Flashed Factory Image then Factory Reset) is up since 73 Hours, it uses acutally 490MB RAM for System and 898MB RAM for Apps,
in these 73 Hourse the App-Drawer was not redrawed once. I hope it will run like this for a long time.
The only thing that hasnt work, was the flashing with the Flash-All.bat.
Simonna said:
Of course it is,just to force older phones users to buy new high end Android smartphones with more RAM. Now 3GB of RAM s getting standart,next year 3GB of RAM will get too little and 4GB of RAM will become a standart and so on..This is how marketing works.
Click to expand...
Click to collapse
exactly ! but ppl need to understand that what they need with phone.
i don't see any app that need more than 2GBs for ram on market plus multitasking is exceptional in N5 for me bcz i don't use tons of chatting apps who always runs and eats all resources of phone , i use heavy games and N5 still works great with highest graphics...and i bet none of Samsung or any other premium devices works with them as impressive as this 1.5yr old device still do ! so for me N5 is still more than enough
phone shouldn't be excessive better in specs than what you wants from phone. Bcz it does't make any sanse unless one have lots of money and he/she only want to waste it one way or another
I thought this was fixed at first. I picked up my phone this morning and went to check news and the whole thing was froze for like 5 seconds then starting working, but stuttering. Do I checked apps and low and behold I had about ten apps restarting, just like in the previous lollipop. Except this time I only see half my apps restarting (so far) instead of nearly all of them.
Cum said:
My N5 (Factory Reset then Flashed Factory Image then Factory Reset) is up since 73 Hours, it uses acutally 490MB RAM for System and 898MB RAM for Apps,
in these 73 Hourse the App-Drawer was not redrawed once. I hope it will run like this for a long time.
The only thing that hasnt work, was the flashing with the Flash-All.bat.
Click to expand...
Click to collapse
sounds like almost my case
I've read several android blogs they claim damaging, HTC, ect have fixed the memory leak in their roms (although I heard people claim this in cm12 also). Just out of curiosity can anyone confirm this is true?
I tried loading and swiping CoC 5 times and my free Ram still remains at 1200.
My battery life has definitely gotten significantly worse after 5.1. Drained over 20% in just an hour with very light usage.

Any custom roms out there that fixes memory leak on Note 4

Can anyone link me to a custom rom that gets rid of the memory leak present in Note 4 on 5.0.1. It's crazy that Samsung would even release 5.0.1 they should have skipped straight to 5.1. My ram usage will not go below 2.1GB. I have tried Clean Master, Battery Doctor, Rebooting and Force Kill.
It has to be a custom rom with Touchwiz not Cyanogenmod because I love the Note 4 features
there isnt any memory leak on any samsung lollipop only s6 has it.
I've never seen my Note 4 even get to 2GB in use, ever. What are you running to get it so high?
darkbahamut said:
I've never seen my Note 4 even get to 2GB in use, ever. What are you running to get it so high?
Click to expand...
Click to collapse
He's not the only one. Ive frozen most of the services and apps and the memory use is over 2gb 99%+ of the time
kalinskym said:
Can anyone link me to a custom rom that gets rid of the memory leak present in Note 4 on 5.0.1. It's crazy that Samsung would even release 5.0.1 they should have skipped straight to 5.1. My ram usage will not go below 2.1GB. I have tried Clean Master, Battery Doctor, Rebooting and Force Kill.
It has to be a custom rom with Touchwiz not Cyanogenmod because I love the Note 4 features
Click to expand...
Click to collapse
My only question is: Have you seen any drawbacks in usage or it is just the effect that you are looking at the available ram and you see it over 2GB and assume it is wrong? Because let me say this: Note 4 and 5.0.1 does not have memory leak. Did you experience apps crashing on a regular basis?The "memory leak" basically stops RAM from clearing out automatically and disallowing other underlying processes to make use of the space. This in turn results in the apps getting killed or crashing automatically. I assume not...apps crashing constantly is the first sign of a memory leak. The only memory leaks reported were on Nexus devices and Google patched them. So basically...free ram is wasted ram on an Android platform. And if this high usage that you see (over 2gb) does not cause apps crashing and phone slower you have nothing to worry about it's just your OS working as it should Cheers!
toofimoofi said:
He's not the only one. Ive frozen most of the services and apps and the memory use is over 2gb 99%+ of the time
Click to expand...
Click to collapse
Where are you seeing that figure? If it's in the touchwiz memory manager than that's a misleading figure since it count cached applications in it's figure which isn't really used memory. You need to check the real Android memory stats to see the real usage.
Im using task manger. this is with all apps killed.
K, thank you for the quick replies. It says a lot in Clean Master 85% of available memory is being used and wanting me to keep having to boost the phone. Have you guys notice any poor battery life with Bluetooth on running lollipop? Can't seem to get half a day usage even with the screen off. It also says in Task Manager 2GB+ is being used. I keep clearing it, but it does not go down. Could it be because gear manager won't close, as it will disconnect my Gear S
No problem here
I hope
kalinskym said:
K, thank you for the quick replies. It says a lot in Clean Master 85% of available memory is being used and wanting me to keep having to boost the phone. Have you guys notice any poor battery life with Bluetooth on running lollipop? Can't seem to get half a day usage even with the screen off. It also says in Task Manager 2GB+ is being used. I keep clearing it, but it does not go down. Could it be because gear manager won't close, as it will disconnect my Gear S
Click to expand...
Click to collapse
You have only one problem to resolve. Deinstall Clean Master, don't believe in phone "boost" and some unpossible clean effect.
If you haven't problems with applications crash or freeze your "problem" doesn't exist.
Bluetooth has significant influence on battery life. Not services, but bluetooth radio itself.
Sent from my SM-P605 using Tapatalk
Stop killing apps with ram booster. It will make your phone slower in reopening apps and consume more battery. Search for some articles on Google to find out why the ram cleaners or launchers with ram cleanear included are so bad for your phone. Android has a very good ram management and you don't need other programs. If you want to see less consumption on your ram disable or uninstall the apps you don't use. Try to open and close a simple task like phone book and after try the same thing after you killed the process with a ram cleaner. You will see that it takes a long time to re-open, and also your procesor will work harder to open the app.
Sent from my SM-N910F using XDA Free mobile app
I'm still going over some logcats but I'm positive the way 5.0 handles RAM is a problem. Haven't been able to pinpoint the issue yet but 5.0 is definitely allocating memory differently than 4.4 and not necessarily in the best way.
Why am I doing any of this? Because fun of course, but also because I noticed home screen redraws were becoming more frequent, and apps were refreshing when a device that has 3gb of RAM shouldn't experience too often. When compared to my Note 3 on 4.4, side by side, running some taxing apps, I've seen a substantial difference.
K thank you. Will uninstall Clean Master and see if my performance improves. Report back. Anyone found a way to open camera when rooted without unlocking phone with fingerprint by double tapping home button. Sorry about posting it in this fourms, just wondering. Hope the Zerolemon battery case improves my battery life, getting it soon. Heard it's not very accurate being that it has 3 batteries and the phone doesn't always get the right reading
I have the same thing here even i noticed apps need to refresh when multitasking frequently
Sent from my SM-N910H using XDA Free mobile app
i think there are a few leaks in 5.0.1, so far we have 1 leak fixed in the kernel and 1 in the rom (thanks to robocik) but ram usage remains high.
not that that is a bad thing...apps only open faster, so that's good, but especially the touchwiz redraws are insane after a while.
every time you press the home button or the greenify button, it redraws the launcher completely.
so even after 2 fixes it's still present
Psycho_666 said:
i think there are a few leaks in 5.0.1, so far we have 1 leak fixed in the kernel and 1 in the rom (thanks to robocik) but ram usage remains high.
not that that is a bad thing...apps only open faster, so that's good, but especially the touchwiz redraws are insane after a while.
every time you press the home button or the greenify button, it redraws the launcher completely.
so even after 2 fixes it's still present
Click to expand...
Click to collapse
im using totaly stock and my ram usage is 1.83 gb constantly with tw launcher and nova makes it 1.6 or something. never saw a single launcher redraw on note 4 and ram usage was totaly same for me on kitkat too. im having serious ram issues on s6 but didnt see any problem with note 4 lollipop
tmac31 said:
im using totaly stock and my ram usage is 1.83 gb constantly with tw launcher and nova makes it 1.6 or something. never saw a single launcher redraw on note 4 and ram usage was totaly same for me on kitkat too. im having serious ram issues on s6 but didnt see any problem with note 4 lollipop
Click to expand...
Click to collapse
odd, if i don't use greenify and just stock touchwiz i have an average of 2.3Gb of ram in use
and it redraws the launcher on every press on the home button
thankfully the n4 doesn't have it as bad as the s6, but it could be a lot better
Never had a launcher redraw using Nova and Servicely to kill apps on screen off. I'm running at around 2.2GB of ram usage always.
Psycho_666 said:
odd, if i don't use greenify and just stock touchwiz i have an average of 2.3Gb of ram in use
and it redraws the launcher on every press on the home button
thankfully the n4 doesn't have it as bad as the s6, but it could be a lot better
Click to expand...
Click to collapse
dunno generally i dont even close any app and i dont have any problem with ram or multitasking.
Seems like the majority of users in this fourms use Nova Launcher. Does it decrease the ram usage. At the moment I am running Flow Home, I think it redraws everytime the home button is pressed.

Is it possible to get smooth performance on Z1 similar to Nexus 5?

I have Xperia Z1 and wife has Nexus 5. I am happy with Sony's apps and functionality, but performance glitches are so annoying that I even consider buying Nexus 5, which seems to me like a downgrade due camera specs and inability to extend memory. Is it possible to tweak any settings or use any ROM, that would give similar smooth performance, but leave intact Sony's camera/album and smart connect apps, stamina mode, Xperia lounge lotteries?
This is strange, what version do you have? try to install the last update 5.1.1. and do a factory reset. This phone should be faster than the nexus 5
Yeah Z1 is much smoother than N5... I like N5 only because of its closest to stock android ! Sonys UI is second!
It has recently updated to 5.1.1. Strange, for example I always have moments of unresponsiveness using Wechat, slow switching to another app or even momentarily freezes while typing text.
the lag could be due to the apps you've installed.have you tried debloating? and if that doesn't work unlock the BL,install CM12.1 and a minimal GApps package and feel the wind in your face!
Xperia z1 is much smoother and faster than nexus 5, lg g2/3, lg g4,galaxy s4,galaxy s5, which all of them had stuttering and lag and sometimes become unresponsive for few seconds, it's even faster than z2/z3 in day to day usage(app oppening speed and switching between apps). My Z1 even became lag stutter free after lollipop update(little stutter in kitkat when switching between heavy apps and ram is low, now it's gone). The only lag i get is when using chrome and visit websites that has too many ads. To fix that i use adaway
My z1 is stock, rooted,deodexed and has superusermod. with all stock bloatware and all available mods you can think of including xposed and ui is heavily modded.
Dont say this is bullshet, i know what i am talking about because i use many phones, and moat of them should be faster than z1
wilkas said:
It has recently updated to 5.1.1. Strange, for example I always have moments of unresponsiveness using Wechat, slow switching to another app or even momentarily freezes while typing text.
Click to expand...
Click to collapse
I think you should just factory reset the phone. It is really easy, in settings click on "backup and recovery" or something like that and there click on factory reset. It'll erase the memory of the phone so save all you have to save before doing this. The phone we'll reboot, it takes around 5-10 min but then it'll be fresh as new.
Yeah it's very true. From my experience, i've compared my Z1 and my friend's Nexus 5. Noticeably Z1 is faster than Nexus 5 in terms of overall user interface responsiveness. Especially when you have a lot of tasks going on, Nexus 5 did stutters a little than Z1. This is just my opinion and some, i don't know about the others. You have to monitor your phone, might be software or hardware's fault.
Thank you all for answers and giving hope. I'll try resetting factory settings first, though I did that about 2 months ago to resolve low volume recording issue with Wechat with no avail. I am not yet a power user of Android and after reading just few tuts only came to a point where Flashtool successfully recognizes connected phone.
masterofnocrack: Could you give any tips on debloating? Do you mean removing unnecessary apps (I don't have such and also no games). Or removing default apps installed by Sony (I don't use some of them). Also you mentioned installing CM12.1 and a minimal GApps package. Would I loose Sony's camera app, stamina mode. And if I dont like CM, can I revert to Sonys default Android and still get updates from Sony?
Gamer4Life: To my understanding only changes you made to default Sony's Android were " rooted, deodexed and has superusermod". Could you explain / give link to what is deodexing and superuser mod?
Have you ever considered that the lag is because of one your apps? bcoz 5.1.1 was fine when i tried it.
Debloating>> Just remove all the preloaded apps you dont use either by disabling it in the settings>apps or by removing them with a root explorer after rooting the phone(ES File Explorer is cool)
CM>> Yep you can revert to stock and get updates.
If you are going to switch to CM then remember to BACKUP YOUR TA Partition before you unlock your bootloader cuz you will loose all your DRM keys on BL unlock(which means Xreality and BIONZ wont work anymore)hence you need to back up the keys if you want to switch back to stock.
Unfortunately the camera quality is inferior on CM roms and you wont get sony's camera or stamina.
PS:does your phone feel hot to the touch like its overheating?
Unlock your bootloader and try flashing some of the ROMS based on stock sony. This way, you'll get to keep the awesome camera app , at the same time getting rid of bloatware.
Something you might want to look at :
forum.xda-developers.com/showthread.php?t=2440565
http://forum.xda-developers.com/xperia-z1/development
Check my siggy :v (As i'm not sure if i can post links to roms)

Categories

Resources