[PSA] Memory Leak still present in 5.0.2 - Nexus 5 General

Not sure if you all know this or not but the memory leak from 5.0 is still present in 5.0.2. Screenshots show it. First is before restart, second is after restart.
Sent from my Nexus 5 with the N5X LRX22G ROM

procitysam said:
Not sure if you all know this or not but the memory leak from 5.0 is still present in 5.0.2. Screenshots show it. First is before restart, second is after restart.
Sent from my Nexus 5 with the N5X LRX22G ROM
Click to expand...
Click to collapse
So u conclude this only because less ram is free ? Or the device becomes unusable?

Pretty sure everyone knows, and if you look at a changelog there was no mention of it being fixed: http://aosp.changelog.to/aosp-LRX22C-LRX22G.html
There are commits that fix a memory leak (https://github.com/Lethargy/android_frameworks_base/commit/da2133d046e59b590e51448eda31d710da217d40 and https://github.com/Lethargy/android_frameworks_base/commit/e30ccdbeac2c53b04a389c7ffd8e9d500c93ef30), however I do not experience such memory leak myself so I cannot say if it fixed the issue for others.

Lethargy said:
Pretty sure everyone knows, and if you look at a changelog there was no mention of it being fixed: http://aosp.changelog.to/aosp-LRX22C-LRX22G.html
There are commits that fix a memory leak (https://github.com/Lethargy/android_frameworks_base/commit/da2133d046e59b590e51448eda31d710da217d40 and https://github.com/Lethargy/android_frameworks_base/commit/e30ccdbeac2c53b04a389c7ffd8e9d500c93ef30), however I do not experience such memory leak myself so I cannot say if it fixed the issue for others.
Click to expand...
Click to collapse
Just asking regrading the 2 links you posted... Is it the screen off animation causing the memory leak and maybe if you switch off the animation in developer settings will it fix it?

tanjiajun_34 said:
Just asking regrading the 2 links you posted... Is it the screen off animation causing the memory leak and maybe if you switch off the animation in developer settings will it fix it?
Click to expand...
Click to collapse
I'm not sure if those commits fix the memory leak that is widely experienced by some users. I only know it fixes "a" memory leak. Again, I did not experience a memory leak myself before merging those commits to my ROM source, so I can't comment on whether it helps or not.
Not sure if turning off animation will make a difference or not, but I don't think it will.

doctor_droid said:
So u conclude this only because less ram is free ? Or the device becomes unusable?
Click to expand...
Click to collapse
I conclude this because yes there is less RAM available and it then causes the device to become very laggy and difficult to use.
Sent from my Nexus 5 with the N5X LRX22G ROM

Always got to have one pedantic one. Yes the memory leak still exists.

So is there any chance to fix it?

Uptime: 235:34:19
Stock 5.0.1
Also 3 Day usage with 3 h sot on data (3g) and wifi on but connected only during 22 to 10.

There's a memory leak?
1.3Gb free here, been on stock 5.0.1 for something like a week now. Maybe there's something else eating up your RAM.

Some say it is the Google Experience Launcher...
Gesendet von meinem Nexus 5 mit Tapatalk

This memory leak obviously is not hitting every device, me and 2 of my buds are seeing this issue (system fills up RAM and handling the device becomes a struggle), while a fourth friend is not seeing it on his N5.
3 days ago i ditched the Google Now launcher and returned to Nova, and i think the problem is not that severe anymore, but i have to keep an eye on it for a bit longer to be able to say for sure.

doctor_droid said:
So u conclude this only because less ram is free ? Or the device becomes unusable?
Click to expand...
Click to collapse
How is this a memory leak? When more memory is needed, it will open up. Contrary to a long time "windows user" mentality, using memory is good. Especially on android. Why do people think using ram is bad? Using ram helps speed things up.
On a semi side note, after perusing computer forums for many years, I've seen many people get as much RAM as possible then try to get their systems to use as little as possible. It makes no sense. RAM is your friend. Use it.

I haven't had this 'memory leak' ever..even from 5.0.0

Yes using ram speeds things up but only when its being used for things like caching preloading and keeping apps in memory. Even then too little free ram can result in lots of paging when using multiple apps so the system tries to achieve a balance keeping some things in memory while having enough free to not cause paging. In this case people are reporting the opposite that after a few days the phone becomes slow and laggy and memory usage is very high even when they have no apps open so there is no swapping it paging going on. If it was just the is caching things it would just delete them to make room for the current app but that is not the case, the only explanation there fore is that something is leaking memory and consuming it till there is very little left for anything else. Also the os might not be managing memory properly but that seems unlikely as android has always been pretty good at memory management.
Sent from my Nexus 5 using XDA Premium 4 mobile app

I'm thinking the highly modified ROM/kernel combination might have more of an effect on OPs free RAM than any "memory leak". Stocks working just fine. Still 1.3Gb free after games, forums, screen on/off, been on for three days, etc.
Can't post screenshots with XDA one app?

killersloth said:
I'm thinking the highly modified ROM/kernel combination might have more of an effect on OPs free RAM than any "memory leak". Stocks working just fine. Still 1.3Gb free after games, forums, screen on/off, been on for three days, etc.
Can't post screenshots with XDA one app?
Click to expand...
Click to collapse
I don't think so.. i have the "laggy phone Problem" with 5.0.0 and 5.0.1 . Always absolutely stock. It's very frustrating...

killersloth said:
I'm thinking the highly modified ROM/kernel combination might have more of an effect on OPs free RAM than any "memory leak". Stocks working just fine. Still 1.3Gb free after games, forums, screen on/off, been on for three days, etc.
Can't post screenshots with XDA one app?
Click to expand...
Click to collapse
It has nothing to do with amount of free RAM. As shown in my pictures you can see 600 mb free ram, but phone starts shutting down apps. This happens on stock ROM without installing extra apps too by the way. Navigation and google music streaming quickly makes this happen it seems for me.

Duh, most of the changes for 5.0.2 were for Tegra N7.

wolfen69 said:
How is this a memory leak? When more memory is needed, it will open up. Contrary to a long time "windows user" mentality, using memory is good. Especially on android. Why do people think using ram is bad? Using ram helps speed things up.
On a semi side note, after perusing computer forums for many years, I've seen many people get as much RAM as possible then try to get their systems to use as little as possible. It makes no sense. RAM is your friend. Use it.
Click to expand...
Click to collapse
It's not the usage of RAM the issue, I think it's more about RAM management, if bigger apps need more RAM let them take it up. But the issues arises when the OS does not release the memory take up by the previous app back into the pool, so then each time we take the same program it takes more and more of the space until other apps cannot access it easily. Presto launcher redraws or apps fc's(or not even running or abruptly stopping the background music playback service) in phones, and whole system freeze or "hang" of the OS in desktop environments.

Related

Full 512 mb available?

Does the froyo update make the full 512 mb ram available? I had heard earlier that only a part of it was available due to 2.1 limitations.
Sent from my GT-I9000 ADJF1 using XDA App
They were always available, ~300Mb for Programs and the rest for the system files... Why should that change?
I think what the OP meant was whether one had more memory for apps as ht tp:// developer.android.com/sdk/android-2.2-highlights.html claims that the 2.6.32 kernel upgrade would bring "HIGHMEM support for RAM >256MB".
At the moment, we do not have the full memory available in the Linux system:
Code:
$ adb shell
* daemon not running. starting it now *
* daemon started successfully *
$ free
total used free shared buffers
Mem: 333420 329988 3432 0 34724
Swap: 0 0 0
Total: 333420 329988 3432
I do not know whether that is related to the graphics hardware taking some of the memory, or to the kernel version:
Code:
$ uname -r
2.6.29
Edit: What do you mean by 'system files'? The OS is stored on mass storage, right? And Dalvik and friends should appear as userspace processes taking up regular memory.
satta said:
I think what the OP meant was whether one had more memory for apps as developer.android.com/sdk/android-2.2-highlights.html claims that the 2.6.32 kernel upgrade would bring "HIGHMEM support for RAM >256MB".
Click to expand...
Click to collapse
You do understand that this does not compute, since there has always been more than 256MB available
Or has there?
I was wondering about the same thing, kernel 2.6.32.9 (JP3) also shows a little more than 300mb...
buddy01 said:
You do understand that this does not compute, since there has always been more than 256MB available
Or has there?
Click to expand...
Click to collapse
Hey, I'm just quoting from an official AOSP site
Mine shows 30 mb available under advanced task killer. What am I missing?
Sent from my GT-I9000 using XDA App
@satta yeah that's what I meant and that's what I had read. Cheers
Sent from my GT-I9000 using XDA App
I've seen Desire have over 400MB of memory available for applications in a video with a some sort of task manager on..
Are you sure, max i got on my nexus one was 312MB in some rare cases, using it without closing apps at all, never got below 100MB... But my Galaxy's max is 170MB, is almost half what my nexus gave me, that kinda suck (don't know if it matter bu tit feels bad in my head )
Desire has 576MB memory.. N1 has 512MB
Sent from my GT-I9000 using XDA App
Maximum free RAM i got from my sgs is 210mb, easily achieved by using Astro's process manager and killing all non-essential services.
why t.f. do you guys always want to have lots of fre ram? please read a little about android memory management... free ram is wasted ram!
FadeFx said:
why t.f. do you guys always want to have lots of fre ram? please read a little about android memory management... free ram is wasted ram!
Click to expand...
Click to collapse
So? We all still want our phones to be as future proof as we hoped they would be when we bought them. And we want the extra RAM simply because it's supposed to be there.
Sent from my GT-I9000 using XDA App
FadeFx said:
why t.f. do you guys always want to have lots of fre ram? please read a little about android memory management... free ram is wasted ram!
Click to expand...
Click to collapse
As long as it doesn't go below that ~70mb when the phones actually start lagging
Might also want to take into consideration that the counterpart Desire used in this thread is also an android phone, sure too much free memory is wasted memory but too little usable memory = lag and if there isn't a lot to use in the first place then it won't take much for the phone to start lagging.
Some help in JG and onward firmwares but it's still quite funny that a simple user can make a fix to create a solution for the entire problem and Samsung hasn't either thought about this or taken it into consideration. (Mimocan is my hero <3)
edit: WOO my first post after actually following these forums for almost half a year, just registered recently
Hey,
Actually you do not need that much RAM. Im running on JG5, which IMO is the most stable and usable firmware out there. Has been running the phone for 3 days straight without any ATK like apps, and has not experience any lags.
Another thing is that, IMHO ATKs slow down the system.
Sent from my GT-I9000 using XDA App
The current Samsung froyo builds do not support highmem. It is a kernel compile time config option. Samsung will hopefully enable it in later builds.
Highmem made a noticeable difference in performance on my nexus one.
ed10000 said:
So? We all still want our phones to be as future proof as we hoped they would be when we bought them. And we want the extra RAM simply because it's supposed to be there.
Click to expand...
Click to collapse
Nonsense. You are not entitled to more free ram in any way.
Every os uses a part of the ram for the kernel code and its buffers.
In addition the advanced graphics will need memory for its texture storage and graphic representation.
A froyo kernel will not make a major difference.
The sg has 512 memory today and it is using it as it should...
akselic said:
As long as it doesn't go below that ~70mb when the phones actually start lagging
Might also want to take into consideration that the counterpart Desire used in this thread is also an android phone, sure too much free memory is wasted memory but too little usable memory = lag and if there isn't a lot to use in the first place then it won't take much for the phone to start lagging.
Some help in JG and onward firmwares but it's still quite funny that a simple user can make a fix to create a solution for the entire problem and Samsung hasn't either thought about this or taken it into consideration. (Mimocan is my hero <3)
edit: WOO my first post after actually following these forums for almost half a year, just registered recently
Click to expand...
Click to collapse
lagging is actually not caused by to less free ram, in android there is no such. the used ram is caused by apps that you opened and then exited again. if you open a new app that needs more ram than aviailable (actually with a little gap of some mb) the system will close apps that are not used anymore and only kept in ram for faster opening. the lag comes from bad i/o speeds of the nand (internal memory) where apps data is stored. on i7500 there is 192mb of ram and it works ok with froyo (thanx to drakaz and gaosp team!) only thing is that every app you open forces the app you opened before to be kicked out of ram what makes switching between apps makes somewhat a pain.
also free memory and usable memory is apples and pears, useable is all memory that contains no actually running in foreground app or service. and free memory is the rest that contains absolutely no information and thus WASTED
edit: btw i7500 is running well with 20mb free ram.
I often have no more than 30 MBs free, and not running THAT many apps. What is strange is that sometimes there is 70-80 MB free, and I have not done anyting. What happens in the background is a mystery... Any suggestions?

[Q] Low available Ram !!!

Hey Guys ... Did you look to the Ram status in the Galaxy Note ???
I have 600+/800 usage in normal situations !!! and when I clear ram it reached to 400+ which goes back to more than 600 Mb after moderate usage !!! what about in your Notes guys ??? Any solution for this ?? plz comments ....
What is it you are planning on doing with the free ram? Has the use of ram caused any problems? Don't worry about it and use the device. There is no point in trying to worry about something which is being used or not being used which is not affecting you in any way. Until it does have fun with the phone.
Do you think Android is running on air? The Note has 1GB RAM which the OS takes 200MB at boot. The rest is used by apps and other things. If you're not going to use the RAM, then why do you need it?
"My computer uses 50MB of RAM, And i have 32GB of it!" WHAT'S THE POINT?!
Try RAM Manager by Juwe. Be aware that the more memory you free up the worse multitasking will be.
Are you kidding me? Use RAM Manager when your device has 1GB of it? Please slap me as hard as you can.
This thread needs to be deleted.
RAM is there to be used.
I would use 100% of my RAM 100% of the time if I could. If it's not being used, it's being wasted.
Unused RAM is totally wasted. When 2GB devices come out OMG my device is using 1GB out of my 2GB!!!
To each his own, who are you to tell others what to do with their RAM? I'm not your typical "as much free memory as possible freak" but how comes that when I kill some apps before running something more intensive it's usually smoother and performs better?
pjm77 said:
To each his own, who are you to tell others what to do with their RAM? I'm not your typical "as much free memory as possible freak" but how comes that when I kill some apps before running something more intensive it's usually smoother and performs better?
Click to expand...
Click to collapse
I've never had to manually kill apps with my G-Note, so I dont know what your doing wrong, Could be a faulty device as far as I can tell.
Thanks for your advice, I'm running to get it replaced.
pjm77 said:
Thanks for your advice, I'm running to get it replaced.
Click to expand...
Click to collapse
600mb usage is totally normal on moderate use. Obviously you don't know how RAM Management work on Android. Go and replace your phone but nothing will change.
Sent from my GT-N7000 using XDA App
Would you replace your computer because it's using to much RAM?
Chances are you would find the RAM hog and keep it from starting up when not neccesary.
600mb is normal usage.... if you are not happy with that high of usage delete the apps that have services running or are always in the background. Android does this for you as you approach full RAM usage anyways though...
garytube said:
600mb usage is totally normal on moderate use. Obviously you don't know how RAM Management work on Android. Go and replace your phone but nothing will change.
Ever heard of irony?
Of course I'm not gonna get it replaced I'm happy with the way it is.
Yes, I've read about Android memory management quite a while ago. Very smart and very convincing. Now on the other hand - every now and then after some intense moments - let's say I'm driving and I'm using offline satnav then online satnav then there is a phonecall, then I make a voice note, I get out, send a text, use my GTD app and whatever else - after hours of such use when I get home, stretch my legs and I fancy to play let's say Galaxy on Fire 2, I find it smoother and less likely to crash if I just press "kill all apps" button in Task Manager. And since I installed RAM Manager I don't have to do it. And I haven't noticed any side effects that would interfere with my style of using my phone.
So guess what - I really don't give a **** about Android memory management and all expert opinions because I know what works for me and I'm happy with that state of things.
Click to expand...
Click to collapse
pjm77 said:
garytube said:
600mb usage is totally normal on moderate use. Obviously you don't know how RAM Management work on Android. Go and replace your phone but nothing will change.
Ever heard of irony?
Of course I'm not gonna get it replaced I'm happy with the way it is.
Yes, I've read about Android memory management quite a while ago. Very smart and very convincing. Now on the other hand - every now and then after some intense moments - let's say I'm driving and I'm using offline satnav then online satnav then there is a phonecall, then I make a voice note, I get out, send a text, use my GTD app and whatever else - after hours of such use when I get home, stretch my legs and I fancy to play let's say Galaxy on Fire 2, I find it smoother and less likely to crash if I just press "kill all apps" button in Task Manager. And since I installed RAM Manager I don't have to do it. And I haven't noticed any side effects that would interfere with my style of using my phone.
So guess what - I really don't give a **** about Android memory management and all expert opinions because I know what works for me and I'm happy with that state of things.
Click to expand...
Click to collapse
I liked your response, but it's not irony, it's sarcasm
Click to expand...
Click to collapse
pjm77 said:
garytube said:
600mb usage is totally normal on moderate use. Obviously you don't know how RAM Management work on Android. Go and replace your phone but nothing will change.
Ever heard of irony?
Of course I'm not gonna get it replaced I'm happy with the way it is.
Yes, I've read about Android memory management quite a while ago. Very smart and very convincing. Now on the other hand - every now and then after some intense moments - let's say I'm driving and I'm using offline satnav then online satnav then there is a phonecall, then I make a voice note, I get out, send a text, use my GTD app and whatever else - after hours of such use when I get home, stretch my legs and I fancy to play let's say Galaxy on Fire 2, I find it smoother and less likely to crash if I just press "kill all apps" button in Task Manager. And since I installed RAM Manager I don't have to do it. And I haven't noticed any side effects that would interfere with my style of using my phone.
So guess what - I really don't give a **** about Android memory management and all expert opinions because I know what works for me and I'm happy with that state of things.
Click to expand...
Click to collapse
it looks like to me that you posted in this thread just to promote RAM Manager
Click to expand...
Click to collapse
TeeeJaay said:
pjm77 said:
it looks like to me that you posted in this thread just to promote RAM Manager
Click to expand...
Click to collapse
I posted in this thread beacuse another user complained about the problem that I came across and found solution to. It's certainly not the best one, but it's the one that works for me.
In the meantime I got ridiculed by more social-oriented users who need to accept and be accepted. To which I got upset and posted some crap. As a result I hijacked the thread. I apologize and shut up.
Click to expand...
Click to collapse
LordManhattan said:
Are you kidding me? Use RAM Manager when your device has 1GB of it? Please slap me as hard as you can.
Click to expand...
Click to collapse
Samsung makes us fool it has only 800MB RAM. Even i thought it was 1GB.
It has 1GB. 200MB is reserved for the system.
Sent from my GT-N7000 using xda premium
Memory usage
My daughter started a game where a photo is used in the programme, and I got the message "Free RAM low, resolution of photo reduced". Had to kill running services to be able to run it without the reduced resolution. Checked the overall Galaxy Note ram usage and just out of the box I have around 230mb free of RAM, I have an HTC Desire HD (768 ram) that has the same free and it is filled with running apps. When you get that kind of messages from a new phone, from some ****ty simple kid programme before I have even filled it up with stuff I get really annoyed. When I kill all I can i can get max up to 400mb.
Yup, TouchWiz is a greedy RAM eating whore. Wait for CM9 and then you'll see why custom UIs like TouchWiz and Sense is bull****.
Sent from my iPad GT-N7000 using xda premium

Is it normal only 1,5 gb ram free?

When I reboot the tablet and look the free ram memory only have 1,5 ram free, is it the normal when this tab has 3 gb ram? I have thunderrom and skyhigh kernel installed.
Yep. It's for most of the android processes and important things that need to run. I also get that much too.
Sent from SMT800 using Tapatalk.
-Helper around Tab S forums√
Active Everyday√
yeiyei0891 said:
When I reboot the tablet and look the free ram memory only have 1,5 ram free, is it the normal when this tab has 3 gb ram? I have thunderrom and skyhigh kernel installed.
Click to expand...
Click to collapse
Yup that's totally normal I'm running cm12 and it's using 1.5GB.
I'm on stock, non rooted and using ES Explorers task killer i can still have about 1.4GB free.
Ok, then 3gb RAM but really you can use less that half of it.
Yep. But hey at least we got 3 GB of ram instead of 2 GB!
Sent from SMT800 using Tapatalk.
-Helper around Tab S forums√
Active Everyday√
DUHAsianSKILLZ said:
Yep. But hey at least we got 3 GB of ram instead of 2 GB!
Sent from SMT800 using Tapatalk.
-Helper around Tab S forums√
Active Everyday√
Click to expand...
Click to collapse
Yeah i get 2GB to use because my system uses 1GB
yeiyei0891 said:
Ok, then 3gb RAM but really you can use less that half of it.
Click to expand...
Click to collapse
I do wish people would actually learn about RAM and why free RAM is actually wasted RAM.
A good summary can be found here: http://m.androidcentral.com/ram-what-it-how-its-used-and-why-you-shouldnt-care
foxmeister said:
I do wish people would actually learn about RAM and why free RAM is actually wasted RAM.
A good summary can be found here: http://m.androidcentral.com/ram-what-it-how-its-used-and-why-you-shouldnt-care
Click to expand...
Click to collapse
Yeah but otoh caching boat load of stuff into ram that won't be used is a waste of battery.
I look at the list of running processes with a system monitor and I have to say WTF does it just load every thing or what. It's running apps I don't even use any more but haven't uninstalled just in case. So if I don't want them running I have to freeze them. And that does not include all the system processes whose purpose I can't even tell. It's kind of nuts.
foxmeister said:
I do wish people would actually learn about RAM and why free RAM is actually wasted RAM.
A good summary can be found here: http://m.androidcentral.com/ram-what-it-how-its-used-and-why-you-shouldnt-care
Click to expand...
Click to collapse
Sorry but you should start to learn yourself. The RAM displayed as free is actually used as a file cache. Besides, Android killing apps in the background means that it takes longer to start a new app in a low RAM situation (because the new app needs to wait until the LMK cleared enough space) and of course you lose the context of the closed app (it needs to reload data from the internal storage or even worse from the web when you restart it).
TheGoD said:
Sorry but you should start to learn yourself. The RAM displayed as free is actually used as a file cache. Besides, Android killing apps in the background means that it takes longer to start a new app in a low RAM situation (because the new app needs to wait until the LMK cleared enough space) and of course you lose the context of the closed app (it needs to reload data from the internal storage or even worse from the web when you restart it).
Click to expand...
Click to collapse
Are you in a low RAM situation when you have 1GB free out of 3GB? NO! 0.5GB out of 3GB? NO!
Does it take a significant amount if time to reclaim resources when android does require additional RAM, because it genuinely is in a low RAM situation? No, because it unceremoniously terminates unused processes, releasing resources to the kernel almost immediately. This is very different from garbage collection to release unused memory from active processes.
Don't just believe me though - take it from the people who actually wrote the OS - http://android-developers.blogspot.de/2010/04/multitasking-android-way.html?m=1
It's also worth saying that you've also validated my statement "Free RAM is wasted RAM" by saying that the OS "uses" free RAM as a file cache.
All that being said, the context of this entire thread is why the OS is "using" 1.5GB out of 3GB pretty much at boot. All I've said is why this is perfectly normal, and in the general usage case, actually not undesirable.
Of couse there will be specific usage cases, where this is not going to be the optimum approach, but this is only going to affect a very small minority of users, with extremely memory demanding applications.
barth2 said:
Yeah but otoh caching boat load of stuff into ram that won't be used is a waste of battery.
Click to expand...
Click to collapse
No. RAM impact on battery life is, for all practical purposes, insensitive to the amount of RAM being used. When sections of RAM are clear, the locations are not zeroed out or anything. Instead the space is just added to a free space table. Stuff in RAM not being used does not waste battery. The exception to this is if that RAM is being occupied by a misbehaving program that is driving CPU usage.
foxmeister said:
Are you in a low RAM situation when you have 1GB free out of 3GB? NO! 0.5GB out of 3GB? NO!
Click to expand...
Click to collapse
Foxmeister is exactly right. In nearly all real world cases, higher RAM usage leads to faster performance and better battery life.
GeorgeP said:
No. RAM impact on battery life is, for all practical purposes, insensitive to the amount of RAM being used. When sections of RAM are clear, the locations are not zeroed out or anything. Instead the space is just added to a free space table. Stuff in RAM not being used does not waste battery. The exception to this is if that RAM is being occupied by a misbehaving program that is driving CPU usage.
Foxmeister is exactly right. In nearly all real world cases, higher RAM usage leads to faster performance and better battery life.
Click to expand...
Click to collapse
No, but you still have to get the data into RAM. That takes power, which it is wasted if the data is never used.
barth2 said:
No, but you still have to get the data into RAM. That takes power, which it is wasted if the data is never used.
Click to expand...
Click to collapse
It's a trade off - preload the processes and data so that they can be accessed far more quickly (less lag) if and when required. Once in memory, if they are not being used the battery drain is negligible.
The reduction in perceived lag is *far* greater than any battery drain.
Regards,
Dave
barth2 said:
No, but you still have to get the data into RAM. That takes power, which it is wasted if the data is never used.
Click to expand...
Click to collapse
LOL! Now are in angels dancing on a the head of a pin territory:laugh:
GeorgeP said:
LOL! Now are in angels dancing on a the head of a pin territory:laugh:
Click to expand...
Click to collapse
Lag is mostly a function of user expectation.
When you open a new app that is not running, you expect a delay. So as long as it's not excessively long, you don't feel lag. unnecessary preloading then just increases bootup time and long boot up time DOES bother people.
Now it makes sense to preload frequently used apps and some system apps that have high probability of being needed. But what I was talking about is seeing apps I used once once weeks ago still get loaded, while some apps I use every session, like my browser, not loaded on start up. The algorithm needs tweaking.
(Large apps like games have long load time, but you are not going to cache those so they are not in the conversation.)
Most lags people experience is in app lag. It's mostly due to loading graphics onto the screen, screen painting, and garbage collection.
What baffles me is I have an iPad 3 (there have been 4 generations of iPads since then) , which on paper is like a Toyota Camry compared to the Tab S BMW 300. And yet on many same apps the iPad feels smoother, scrolling around is less jerky. The only place where the Tab S is superior is 3d games like asphalt with high details and because it has 3x memory, apps need reloading less.
barth2 said:
Lag is mostly a function of user expectation.
When you open a new app that is not running, you expect a delay. So as long as it's not excessively long, you don't feel lag. unnecessary preloading then just increases bootup time and long boot up time DOES bother people.
Click to expand...
Click to collapse
The vast majority of users (i.e. the sort of user who doesn't frequent sites like XDA) probably don't reboot their tablets/phones very often at all, so most people probably aren't that bothered.
I rather suspect that the engineers at Google have experimented with an awful lot of different strategies, before settling on what we have now.
Is it perfect? No. Like everything software related, it could do with improvement but this is always a continuous, on going process
Regards,
Dave

Memory management issues

It seems that OP3 has some Memory Management issues right no:
http://www.gsmarena.com/video_shows_the_oneplus_3_struggling_to_manage_its_6gb_of_ram-blog-18866.php
https://www.youtube.com/watch?v=vYv8YQJbJaQ
Let's hope OP and/or custom ROM developers will fix that in a near future. Otherwise, 6GB would be completely useless.
tnttrx said:
It seems that OP3 has some Memory Management issues right no:
http://www.gsmarena.com/video_shows_the_oneplus_3_struggling_to_manage_its_6gb_of_ram-blog-18866.php
Let's hope OP and/or custom ROM developers will fix that in a near future. Otherwise, 6GB would be completely useless.
Click to expand...
Click to collapse
That looks pretty bad from the YouTube vid, hope its fixable
Really want to know if the test has been made before or after updating to OOS 3.1.2... and what OOS 3.1.2 changelog is !
I think it was made before the update. They said in another video that they have had it since June 5th and that they will be releasing multiple videos soon. I am guessing this is one of those videos. But that doesn't mean it is fixed.
I have posted a question about update 3.1.2 to video owner.
Let's see what he replies.
To me this comment makes a lot of sense too:
Very interesting test, but not very conclusive. From video history of the same test performed on different devices by C4ETech:
1:05 - 1:54 - 1st and 2nd round - Galaxy S7 (exynos, 4Gb)
1:01 - 1:35 - 1st and 2nd round - Galaxy S7 Edge (exynos, 4Gb)
1:24 - 2:00 - 1st and 2nd round - HTC 10 (SD820, 4Gb)
1:05 - 2:10 - 1st and 2nd round - LG G5 (SD820, 4Gb)
1:10 - 2:22 - 1st and 2nd round - Oneplus 3 (SD820, 6Gb)
If you compare those numbers, you will see that:
1) +/- 5 seconds don't really mean anything. S7E vs S7 with same CPU and same ram in 2 tests gave different results in the 1st round.
2) Memory management can be luck of the draw and depends on other factors. Again difference is S7 vs S7E clearly shows that one app is still in memory in one test and not in memory on the other, even though hardware and software are almost the same (if you don't consider S7 and S7E to be all that different). Otherwise you might as well call S7E "awesome" phone and S7 "crappy" phone.
3) Speed of all those (except HTC10) is almost the same judging by the 1st round. HTC10 is just a bit slower due to storage (emmc on HTC 10 vs ufs on others)
4) Now that new phones have so much memory (that is clearly not utilized to full potential), there really should be an update to the android system as a whole to take advantage of it. I don't see any reason for any of these devices (regardless of 4Gb or 6Gb) to unload apps from memory in the scenario of this test. Good thing is that tools/apps exist that can force system to keep apps in memory, if desired, but it is not really a substitute for better native memory management (by android as a whole) that can take advantage of all the ram available.
Click to expand...
Click to collapse
Yeahj.. just wait for the update
And even if it was the slowest of them it comes with dev friendly sources and not with a locked bootloader and too high price
dev friendly sources should be the way to overcome this issue at least in custom ROMs... we will see...
Carl Pei wrote on twitter, that they did this on purpose for better battery life and it is possible to change it within the framework, if someone wants to change it.
Shusky said:
Carl Pei wrote on twitter, that they did this on purpose for better battery life and it is possible to change it within the framework, if someone wants to change it.
Click to expand...
Click to collapse
OMG!
well, freeze app, don't let it do anything, no data, no CPU usage -> that will save battery.
do not throw it away from RAM!
tnttrx said:
OMG!
well, freeze app, don't let it do anything, no data, no CPU usage -> that will save battery.
do not throw it away from RAM!
Click to expand...
Click to collapse
What exactly are we seeing here that people are calling memory management issues? OOM/LMK limits? Or are we stashing too much in RAM? I can't see the video because of the network I am on. I am certain it can be fixed regardless and tuned to ensure the issue is gone.
DespairFactor said:
What exactly are we seeing here that people are calling memory management issues? OOM/LMK limits? Or are we stashing too much in RAM? I can't see the video because of the network I am on. I am certain it can be fixed regardless and tuned to ensure the issue is gone.
Click to expand...
Click to collapse
Exactly OOM/LMK limits. 16 apps are opened, then 2 large games are kicked from the cache and have to reload. That's about it.
Will there be any xposed mod possible for this issue?
Sent from my ONEPLUS A3003 using Tapatalk
Same guy did a new video with 3.1.2 update and compared.
I have the device in hand now and not seeing any issues with all apps open not one relloaded but if i open all on my s7e some start to reload
DespairFactor said:
What exactly are we seeing here that people are calling memory management issues? OOM/LMK limits? Or are we stashing too much in RAM? I can't see the video because of the network I am on. I am certain it can be fixed regardless and tuned to ensure the issue is gone.
Click to expand...
Click to collapse
The LMK limits are messed up. It is too aggressive in killing apps....btw what have you decided? Will you support our phone or undecided yet? I hope you get on board the OP3 train!! Peace
Konskl said:
The LMK limits are messed up. It is too aggressive in killing apps....btw what have you decided? Will you support our phone or undecided yet? I hope you get on board the OP3 train!! Peace
Click to expand...
Click to collapse
If you root, I know kernel adiutor let's you change the limits, if you have 6gb of ram you may as well be like Samsung and use it all. What are you guys seeing for usage with no apps running? And what is the amount you see apps getting killed at?
DespairFactor said:
If you root, I know kernel adiutor let's you change the limits, if you have 6gb of ram you may as well be like Samsung and use it all. What are you guys seeing for usage with no apps running? And what is the amount you see apps getting killed at?
Click to expand...
Click to collapse
If no apps are open the unused ram is around 4.6gb out of 5.6gb
tnttrx said:
I have posted a question about update 3.1.2 to video owner.
Let's see what he replies.
Click to expand...
Click to collapse
He replied with a new video. Check it out!

My phone is a RAM eater?

Hello,
I have my P9 now for a month or so and i really think it is a RAM eater, it sucks up my RAM.
It has 800mb's free ram when all i repeat all applications are closed that is not how it supposed to be i think so.
after i reboot my P9 it has 1.69GB free but after a day or so the same thing happens is this normal or not?
BTW i have the 3GB model EVA-L09
Hmm.. I have the same model too and I seem to drift at around 1.2~1.6 free most of the time unless I'm heavily multi-tasking, do you have any heavy apps that maybe auto-start or anything like that? You could also try factory resetting if it's going that bad.
Naeysayer said:
Hmm.. I have the same model too and I seem to drift at around 1.2~1.6 free most of the time unless I'm heavily multi-tasking, do you have any heavy apps that maybe auto-start or anything like that? You could also try factory resetting if it's going that bad.
Click to expand...
Click to collapse
I already did factory reset
It is not much of a problem but just wondering if anyone had the same so thanks mate!
safariking said:
I already did factory reset
It is not much of a problem but just wondering if anyone had the same so thanks mate!
Click to expand...
Click to collapse
It's not a problem, its memory management.
There's no point having lots of ram with nothing in it.
Edit..unless you're having performance issues?
Greasedferret said:
It's not a problem, its memory management.
There's no point having lots of ram with nothing in it.
Edit..unless you're having performance issues?
Click to expand...
Click to collapse
Ah thanks and sometimes it lags thats all
safariking said:
Ah thanks and sometimes it lags thats all
Click to expand...
Click to collapse
If there is lag and you feel it's RAM related, there is a "clean up" function in phone manager. Or just kill some apps from multitask view But most of the time there really are almost no benefits to having free ram on android. RAM performance is not scaling with the amount, like CPUs for example. It's more like, you have enough then you can run the apps, you don't have enough then you can't run it. But on android that's basically a non-issue because it will automatically clear the ram if you don't have enough for a certain task.
I get around 1.5-1.7 when freeing memory. I don't have a lot of apps installed though. It doesn't go down even after a few days withoit restarts unlike my older phones.
Sent from my EVA-L19 using Tapatalk
If you are having a lag issue, there is a setting for 'protected applications'... in advanced, battery manager...may have a look there, and un-protect some.

Categories

Resources