yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] jineshpatel30:
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 :p :p
[Nexus 5 General] frigidazzi:
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.
[Nexus 5 General] jineshpatel30:
sounds like almost my case :D
[Nexus 5 General] frigidazzi:
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?
[Nexus 5 General] ghettopops:
I tried loading and swiping CoC 5 times and my free Ram still remains at 1200.
[Nexus 5 General] colonels1020:
My battery life has definitely gotten significantly worse after 5.1. Drained over 20% in just an hour with very light usage. :eek:
[Nexus 5 General] MrKaon:
The Photo app is part of Google + package replaced the normal gallery app in KK, as I understand your concerns but not all talented people works for Google you got to give chance to third party developer and thankfully they are good ones out there.

Permission list is what they should be no less no more:
[Nexus 5 General] mithab:
QuickPic is really good. Using it since Lollipop 5.0 :D
[Nexus 5 General] Evo_Shift:
Why don't we all just go back to a flip phone. Nothing wrong with the apps people want to use. You probably use Google's ****ty Photos app and all their bloat.
[Nexus 5 General] AvgPhoneUser:
Just flash the factory images for 5.x.x or CM12.1 or Cm12
[Nexus 5 General] ConorCX:
Finally witnessed this memory leak for the first time on my fathers Nexus 5. Never had it personally on my Nexus 5. Hoping 5.1.1 can finally provide a fix for this issue. The only workaround that seemed to work for my father was restart :(
[Nexus 5 General] Isus <3:
Good news: Android 5.1.1 is currently released for nexus player, and as it says in changelog, memory leak is fixed, AOSP source is updated to 5.1.1 r1 and factory images for nexus 5 should be out in few days
[Nexus 5 General] NickFe:
Where exactly does it says it is fixed? I can't see it anywhere.

http://www.androidpolice.com/androi....0_r5-to-android-5.1.1_r1-AOSP-changelog.html
[Nexus 5 General] Isus <3:
6dc6c38*: DO NOT MERGE - audio policy service: fix possible memory overflow
[Nexus 5 General] NickFe:
That fixes an overflow not a leak. Usual consequences of overflows are crashes, not leaks. You can google the difference. Seems to me that the leak issues are still there.
[Nexus 5 General] Isus <3:
Yeah but this is memory overflow not stack overflow or buffer overflow.

And also if memory overflow make apps crash then those apps will restart and run again which creates increased memory consumption (leak), right?
[Nexus 5 General] pfmiller:
Wrong. Stack overflows and buffer overflows are all types of memory overflows, and memory leaks are not caused by restarting apps.
[Nexus 5 General] ilciumbia:
So, what are the caused by, exactly?

Sent from my Nexus 10
[Nexus 5 General] pfmiller:
They are caused by the system marking memory as in use, and then never marking it as unused again even after the app that was using the memory is long gone.
[Nexus 5 General] michaelbsheldon:
""Waze is just a ****ty app BTW. Can't believe it's still in use.""

Waze is a useful app, even if you don't like or use it.
[Nexus 5 General] jlmcr87:
Incredible memory leak the same as 5.1 in the new android 5.1.1. I tried the latest cyanogenmod 12.1 with android 5.1.1 included and the problem is still here.
[Nexus 5 General] jlmcr87:
Reported to google: https://code.google.com/p/android/issues/detail?id=169747&colspec=ID Type Status Owner Summary Stars

Sure they know but..........
[Nexus 5 General] happiness4u:
By just looking at the changelog, there hasn't been anything related to fixing the memory leak bug. https://sferadev.com/android-5.1.1_r1. I don't think this one refers to a major memory leak "6dc6c38 DO NOT MERGE - audio policy service: fix possible memory overflow". This update just is a minor fix I guess. That's why Google released it only for the Nexus Player.
[Nexus 5 General] t3al:
I'm pretty sure they will fix it now that you posted there..

By the way that's the AOSP Issue tracker, not a forum to demand fixes
[Nexus 5 General] happiness4u:
That bug was posted there by many users already, since 5.0, and Google is just telling us, people over and over again that, "The issue has been fixed internally". :D
[Nexus 5 General] t3al:
And that they "do not currently have a timeline for public release"
[Nexus 5 General] ChrKu:
I'm not an Android pro, but could it be possible that the fix is in the kernel source?
[Nexus 5 General] cell2011:
Nexus player is the only one that has 5.1.1 right now factory image. Im wondering if the leak has been fixed
[Nexus 5 General] 19dragon98:
We need to wait the factory image and we'll see what happen :)
[Nexus 5 General] and313:
I swear to god if this still goes on i will throw my n5 in the wall and say goodbye to the smartphone world...

My history: Sammy efed it up all with touchwiz first, then htc with tegra 3 and buggy updates (broken wifi for months) and now google with the damn memory leak... Not to mention the hw problems i had with all the phones so i was months without the devices when i returned them under warranty... On the brink here
[Nexus 5 General] Simonna:
Say hello to Nokia 3310 then it's very stable and reliable.:good:
[Nexus 5 General] and313:
Or install kitkat... :) one or the other... And just stay on the n5 forever
[Nexus 5 General] Simonna:
N5 forever and ever!:D
[Nexus 5 General] cell2011:
I had a dev respond back to me about memory leak question i had about 5.1.1 based rom he put out and i got this answer "I never experienced any memory bug even if it's not fixed and NO I would say nothing in change log about that
[Nexus 5 General] markdapimp:
So google hasn't fixed the leak in 5.1.1?
[Nexus 5 General] jlmcr87:
Don´t say stupid things, the memory leak is recognised by google in the android bugtracker, they say "internally fixed"
[Nexus 5 General] rolldroids:
But it is unknown if the fix is in 5.1.1 isnt it?
[Nexus 5 General] cell2011:
What? I was saying when i asked a dev about memory leak on his rom with 5.1.1 he told me he never seen it and wouldnt put it in his changelog if he did experience this. I wish this memory leak solved too just as much as you do. Hopefully Google we see this again that its not fixed by all the consumer complaints
[Nexus 5 General] rolldroids:
And hopefully that cgroup issue is fixed too ?
[Nexus 5 General] cell2011:
Looks like they are looking into it by the latest bug tracker response back
[Nexus 5 General] jineshpatel30:
instead of throwing N5 you can donate it to me...i'll be very happy to get another one for free :p ;) ha ha :p
[Nexus 5 General] jlmcr87:
Google says:

Thanks, we may need more information later but we will post updates to this issue.

Oh yes..they need information because this issue is new..............yes it´s new, only 5 or 6 months of people complaining.........

Also they restricted the comments.

https://code.google.com/p/android/issues/detail?id=169747
[Nexus 5 General] AndrasLOHF:
It's simple economics really. Screw up the previous released hardware with software in hopes that users will upgrade to your newer hardware.
[Nexus 5 General] jlmcr87:
Is the leak present on nexus 4 or 6?
[Nexus 5 General] markdapimp:
Did OEMs fix the 5.1 leak?
[Nexus 5 General] jlmcr87:
My father´s moto e 2015 with 5.0.2 doesn´t have any leak.
[Nexus 5 General] daern:
This leak caused me to dump CM and go back to stock 2 months ago. At it's worst, my phone would barely last 24 hours between reboots without falling over or becoming unusably slow. Stock may have something of the same problem but it's at least 10x better and I've got no real desire to return back.

In short, I'm not sure how much of this is Android 5.x and how much is specific to CM.
[Nexus 5 General] jlmcr87:
The leak is also present in te latest CM 12.1/5.1.1 nightly.
[Nexus 5 General] markdapimp:
So why can't google fix it then :eek:
[Nexus 5 General] JonesL:
Would a fix not be included in the dedicated factory image, is it just this device that is affected?
[Nexus 5 General] markdapimp:
Maybe pure AOSP and nexus devices
[Nexus 5 General] kicksilver:
Truth is, memory leakage is still present in 5.1, but much better than in 5.0.

Nexus 5, 5.1 stock.

141h uptime
[Nexus 5 General] markdapimp:
Do you have lots of apps installed?
[Nexus 5 General] kicksilver:
Apart from the preloaded ones, 25.

Consulta Operadora

Flud

Instagram

9gag

AirDroid

Ampere

Apex Launcher

Auto off

AZ Screen recorder

Banco do Brasil

Cabinet

CAD Viewer

Despertador GPS

Epic Launcher

HERE maps

Ingresso.com

Itaú

Google Messenger

Quickpic

Smart lockscreen protector

Tapatalk

Swiftkey

VLC
[Nexus 5 General] markdapimp:
Android 5.1.1 Memory leak still present.Incredible!

Visited a Tmo store today and decided to look around at all the flag ships with lollipop, what do you know.. Memory leak is present

Samsung S6

HTC looks better

Here's a G3 still on KK

Thanks Google!

It's amazing how Google seem to can't fix the issue.

Who knows the factory images aren't available yet for any other nexus device but the player maybe then they'll have some revisions in maybe 5.1.1_r2 or something.
[Nexus 5 General] [hfm]:
Which newer hardware is that? Because the N6 is no replacement for the N5. Too big.
[Nexus 5 General] j3poii:
I had to revert to Kitkat 4.4.4

It was too bad on my Nexus. Less than 5 hrs my battery would drain because of this leak. Now back to Kitkat I get at least a day of average usage. In comparison, my ASUS MeMo PAD HD 7 ME173XX (K00U) has just 1GB of Ram and I haven't restarted it due to unresponsiveness. It only gets restarted when the battery drains.
[Nexus 5 General] C3C076:
Strange. I am still on 5.0.1 (due to xposed development) and I don't experience any system memory leaks, even after 4 days of uptime.

There must be something special that triggers it. Would be interesting to know what exactly it is.
[Nexus 5 General] Gorgtech:
Some crappy Google Apps might trigger this bug. Since I removed nearly all the junk ( or at least what I consider to be junk ), I never had any leaks of any kind. I don´t use the google keyboard ( ugly as fook ), Chrome ( Spyware ), Drive ( useless if you use Dropbox etc. ), Google Launcher ( crappy in comparison to Nova Launcher Prime ) etc.

No memory problems, no laggs :P
[Nexus 5 General] JonesL:
Well, I'm not getting the issue. On 5.1 I would be on about 800MB at around 24hours
[Nexus 5 General] RossFixxed:
I don't see how those other phones have the leak? Half their RAM has something in it? That's absolutely normal on any of these devices. Once it handles the memory management when it gets tight then all is well. Used RAM on andriod/*nix is not the same as windows.

I'm not saying this issue isn't a real one, it is, but the OEMs seem to have patched it far better. I have yet to cause it on an S6 or M9 no matter what I try.
[Nexus 5 General] rolldroids:
And the best way for checking is developer options -> process stats and then click on the bar. On my n9 there is critical status for long periods of time, all my other devices run 5.1 now and have normal status all the time. You can see if your device wants to free memory but is not able to. If everything works fine, critical status will never appear.
[Nexus 5 General] markdapimp:
Stuff your phone with a ton of apps, give it to a child to play games the whole day then check it's usage after.
[Nexus 5 General] 19dragon98:
I also dont seems to have memory leak, just apps using ram not system also after 2 days
[Nexus 5 General] rolldroids:
That is not good I think.
[Nexus 5 General] 19dragon98:
I know that is not good , but is not so bad as the other screenshot where the system used ram was like 1gb ... I'm waiting the factory image for see if the memory will be used better
[Nexus 5 General] markdapimp:
I'm sure google will sneek In a fix for the memory leak, perhaps they will add it on on the next revison like R2 or whatever number they use
[Nexus 5 General] TheLastSidekick:
Its strange because I'm on 5.1 and after Google marked the memory leak as fixed I find that it has gone away.
[Nexus 5 General] TonyHoyle:
That looks pretty normal to me - lots of apps in hibernation waiting for when you next use them. You even have an excess of unused RAM which means it can go higher.
[Nexus 5 General] JonesL:
I think I'd rather use it like I did with 5.1 because right now it's sitting at 1.2GB of free RAM, I'm not going to bother filling it with apps I don't use
[Nexus 5 General] markdapimp:
Google has fixed one of the many memory leaks, this one is a different leak.

From the developer preview down to 5.1 Google has fixed many memory leaks, it is expected due to the large jump where as kitkat was an incremental update from jelly bean.
[Nexus 5 General] MrKaon:
Thread title confused me where is the 5.1.1 image factory?
[Nexus 5 General] kicksilver:
Guys, let´s face it, there is something off about Lollipop RAM management.

5.1 is a much better experience than 5.0, a regular user won't even notice there's a memory leak issue.

Although 50% of my RAM is taken by the system, I haven´t noticed any launcher redraws so far, and everything is still smooth and responsive, but I don't know how far it´ll go like this.

But, apps realoding is noticeable, and kind of a pain in the ass.
[Nexus 5 General] mikeszf:
I actually never had the memory leak, I think it's maybe some hardware revisions. I find more concerning the fact that my phone's battery lasts about 2 hours less on lollipop...
[Nexus 5 General] markdapimp:
Nothing to do with hardware, total software because if it was hardware why does the moto x pure edition Show the signs of the leak.
[Nexus 5 General] tavocabe:
People with this problem should make a list with installed apps, maybe we can find a pattern or the bad coded app? Early in this thread people where accusing Farm Heroes Saga, maybe they (app developers) should fix their app? I personally have many apps installed (~40) since 5.0 and now on 5.1 never experienced the issue.
[Nexus 5 General] markdapimp:
Even though the app is poorly coded, It shouldn't crash the system/halt the system from freeing ram

I completely just replicated the 5.1 Memory leak with Farm Heroes Saga on Stock 5.1 and CM 5.1.1

While testing, I compared to a LG device (1GB RAM) with KitKat and it seems to run fine only the Nexus 5 is having issues

If anyone want's i'll be making a video/tutorial on how to replicate it.
[Nexus 5 General] and313:
Even if there arent any redraws what i notice most is how slow the device gets after a while...
[Nexus 5 General] gyoung:
I tried xtrasmooth and purewhite. Both of them gave me bad memory leak. Had to restart every 24h.

Now, I am on Chroma ROM and I am confident to say that the memory leak is minimal. Remain smooth even after 48h of use.
[Nexus 5 General] shr33kant:
Well logically if only some of us are experiencing the leaks surely that points to some specific apps causing the memory leak?

Personally I haven't had any problems since moving to lollipop and here's my list of apps attached.
[Nexus 5 General] Edge330:
Most of us experience memory leak, if kitkat could work with same apps then should lollipop also.

I dont know how is possible that google cant fix one thing for half a year, weird.
[Nexus 5 General] markdapimp:
System uptime?
[Nexus 5 General] shr33kant:
I haven't restarted my phone since Thursday.
[Nexus 5 General] XeLLaR*:
Im just gonna leave this quote from the 2nd page here for ya'll in case you missed it.

Gesendet von meinem Nexus 5 mit Tapatalk 2
[Nexus 5 General] markdapimp:
Hmm too short, needs to be longer
[Nexus 5 General] tebore:
I wonder if the leak is in the GE Launcher or Google Play Services. I installed GEL and GPS 7.3.29 on my tablet running 4.3 and it started to suffer the same issues as my Nexus 5 on 5.1. Redraws sluggish performance after a few days. Music stops playing apps closing in the background.
[Nexus 5 General] XeLLaR*:
What Kind of tablet is it?

Gesendet von meinem Nexus 5 mit Tapatalk 2
[Nexus 5 General] tebore:
Asus ME 302c

Its OK with stock launcher
[Nexus 5 General] treehugger38294:
Really?

This is a Dev community and people can't set up their phone to reboot nightly? How pathetic!
[Nexus 5 General] Shaky156:
Was on catalyst 5.1. Had 0 memory leak. Switched to purity 5.1 test edition. Now looks like too much RAM used, could be mem leak, memory used under cache = >600MB.
[Nexus 5 General] alen1901:
Thats weird, im on Cataclysm and i have mem leak, it was the same with Purity, even smaller effect on Purity because he implemented some fixes for various memory leaks.

Sent from Pure Nexus 5
[Nexus 5 General] Shaky156:
Has anyone tried changing kernels? in case its a kernel issue?

Edit: Its better if someone can create a online speadsheet? and people can fill in what OS/kernel they're running

It would help find and eliminate the issue.
[Nexus 5 General] markdapimp:
I'm sure Kernel isn't the issue here.

---------- Post added at 06:41 PM ---------- Previous post was at 06:10 PM ----------

What's interesting is I cannot replicate the memory leak on my LG L90 with only 1GB ram and 5.0.2 Lollipop.

Maybe OEMs fixed it but AOSP/Google didn't?
[Nexus 5 General] Isus <3:
God damn today I had memory leak on 5.1.1 as well, it really makes me sick and makes me get an iPhone. Never thought I'll say that.
[Nexus 5 General] TonyHoyle:
Why would anyone do that? I haven't rebooted since I did the 5.1 update, and I wouldn't expect to either. This isn't Windows.
[Nexus 5 General] republicano:
I have tested this theory, even though iOS is functioning fine I cant use it daily over nexus5, material design has helped a lot.

I waited for 5.1 before I used lollipop daily, removed all the Gapps I didn't need,only installed the apps I need.

I did have one issue with opera mobile, it suddenly locked up, then the ui blacked out, all I could do is toggle the power menu.

Its a first using this app for over 3 years, I didn't expect an app to crash the system, I assumed the os would kill it.

Clean the app data and rsync my data back on it.
[Nexus 5 General] zerosum0:
It's a fact that Linux uses RAM in a different way .it has most allotted ,most of the time but drops stuff when needed for tasks

Where you can run into problems it's with apps misusing RAM. Most app developers don't seem have got the hang of lollipop,judging y the mess with apps like realracing 3 and the constant ,sometimes daily updates to fix apps. Same for Google 5.?? Is on the way.

It's best to make sure apps DON'T start on boot and run in the background, as RAM is allotted to them. Mine are set to come on when used and to go off,not run in the background but off. This keyboard included. I can go from one week to the next with out rebooting.

Sent from my Nexus 5
[Nexus 5 General] TheLastSidekick:
Sorry about the late reply. I have the original White 32GB model from launch day.
[Nexus 5 General] markdapimp:
Watch this video I just made...

https://www.youtube.com/watch?v=Iu8r9EQ7N-g

Interesting findings.

Posted on AOSP Tracker: https://code.google.com/p/android/issues/detail?id=170149

Please star and contribute useful information!
[Nexus 5 General] Isus <3:
It's not that I don't like Android, I love it but this memory leak makes me puke
[Nexus 5 General] markdapimp:
Doesn't matter what you do see my video:

https://www.youtube.com/watch?v=Iu8r9EQ7N-g

The system will allocate the memory but never release it.

Task Killers, Greenify, Fast Reboot all these "apps" are useless.

Strangely OEM's such as LG have this fixed, but not Google/AOSP Hmmmm. :confused:
[Nexus 5 General] jlmcr87:
Take a look:

https://code.google.com/p/android/issues/detail?id=170151&colspec=ID Type Status Owner Summary Stars
[Nexus 5 General] MrKaon:
Where do you guys are getting 5.1.1 factory image?
[Nexus 5 General] jlmcr87:
AOSP roms, cyanogenmod,etc...
[Nexus 5 General] vaindil:
Okay, the initial bug you posted (169747) had its comments closed for the moment because they have enough information, and to prevent an influx of people coming from the forums saying "Me too, fix it!" That's what starring an issue is for. Starting a new issue completely defeats the purpose; it will immediately be closed as soon as someone from the team looks at it. It's very plausible that the problem HAS been fixed internally but for whatever reason hasn't been pushed out to AOSP yet. Don't ask me why they would do that, but if that's what they're saying then I have no reason to not believe them.

So, to reiterate, they're saying it's fixed but hasn't been pushed yet to devices/AOSP. It's therefore NOT included in 5.1.1, so opening numerous issues on the tracker saying "It's not fixed in 5.1.1!" does literally nothing because they haven't said that it's actually IN 5.1.1.
[Nexus 5 General] markdapimp:
I know it says not to ask why, but that question I'm sure still persists in each and everyone of our minds, WHY Google?
[Nexus 5 General] DSF:
Seriously?! I mean really?! Geez, maybe we have apps that we want to be opened next day, maybe we left some tabs with unsent mesaages (or do you want us to c/p all ?!), or maybe we have some tasks running in background.. What can I say.. Smart advice NOT.

How pathetic!
[Nexus 5 General] XeLLaR*:
This is one stupid Video right there my friends.

Gesendet von meinem Nexus 5 mit Tapatalk 2
[Nexus 5 General] jlmcr87:
I think the only stupid thing here is your comment. Why don´t you contribute instead of posting vacuous comments?
[Nexus 5 General] markdapimp:
Why is it stupid?

Version after version, waiting after waiting Google is yet still unable to fix the leak in AOSP

While OEM's like LG, Sony, HTC all have it down.

You can clearly see this effect by comparing OEM's that used pure AOSP based such as Motorola in the Pure edition vs your carrier device HTC One
[Nexus 5 General] 19dragon98:
I seems to dont have memory leak, also playing games and have lot of apps installed. Also after 28 hours
[Nexus 5 General] Edge330:
28 hours is not enough to confirm anything.

Sometimes I have around 170h to feel memory leak (launcher crash), wait one or two days. :D
[Nexus 5 General] markdapimp:
Come back when you have 3+ days of system on time
[Nexus 5 General] markdapimp:
https://android-review.googlesource.com/#/q/memory+leak