Nexus 5 Memory - Nexus 5 Q&A, Help & Troubleshooting

Hi,
I've a Nexus 5 with Official MMB29S, TWRP, System-less root and GravityBox.
When I used Lollipop I mostly about 1GB of free RAM in idle.
Since I switched to Marshmallow (with less installed app), after a few hours of use I have about 800MB free, that going down constantly if I don't reboot the smartphone.
AIDA64 under "Total Memory" says 1854MB
about the less 200MB of free.
What can it mean?

Okay, looking around the web, I found a russian screenshot of AIDA64 of a Nexus 5 with Lollipop, that under "Total Memory" says 1856MB, so I think that this isn't related with my memory draining issue…
Anyone?

I think that I solved my issue.
In Developer options
I had enabled the
Force GPU rendering
entry.
With this option every process that use GPU rendering take up additional about 8MB, so every time an App starts, my memory draining little by little.
When I used Lollipop I had this entry enabled, but I hadn't any similar issue… Maybe with Marshmallow something changed in this sense.
I hope that my experience will be useful to someone else, but above all I hope to have definitively solved my issue! XD

Related

H81010o issues

I ended up getting the latest ATT/LG software update, build LMY47D / H81010o. It actually let me choose when to install it so I'm happy about that, but I'm having a few problems. The screen seems to be working better now, taps, touches, swipes, and drags seem to be working correctly - but my phone is running really hot - even after a couple reboots. and for some reason all of my task killers no longer work. I use CCleaner and AVG to flush out ram because even though the G4 has 3gb, about 1.6gb is always in use with factory apps only. None of the task killers detect any running apps now, even the built-in LG task killer doesn't find anything running in the background.
Anyone else having issues with task killers? I've cleared the cache out of them, dumped the data, re-installed them, and they still don't work. I had a few other apps that quit working but once I dumped the cache they started to work again. Also, the phone seems to boot a little quicker and charge faster too, seems like mixed results with the latest upgrade.
Everything I've EVER read about task killers says that they don't really help because they are at odds with Android. And RAM is supposed to be used. Android will drop things out of RAM if it needs more.
The issues with memory leaking are inherent to Lollypop and are "supposedly" addressed in Marshmallow. We'll see.
But I had the same issues with my S6 and S6 Active.
Sent from my LG-H810 using XDA Free mobile app
Task killers shouldn't be used with anything later than Gingerbread. They simply serve no purpose. Android's stock RAM management keeps everything how it needs to be run, and shouldn't be messed with. For example, every time you go and use one of those task killers to flush out your RAM, Android is going to turn around and load those same apps right back into RAM because they're set with certain OOM values that tell Android when to kill them off or when to let them stay in memory.
So, in practice a task killer is probably robbing you of battery power.
The only thing I still don't like about LG's software is that they HAVE tweaked the stock RAM management system that Lollipop uses to favor keeping things in RAM for longer... and things on the G4 can get a little slow sometimes because of it. Just use the app switcher and swipe them away though, that way the app services can still run in the background like they're supposed to.
The G4 would be my ideal Android device if they would ship it with stock Android and just put their apps on top of that. RAM management doesn't need to be messed with, and UI elements don't need messed with (lollipop is quite elegant).
As for the "o" version, I was forced into it. It never asked. It installed itself while my phone was laying on the coffee table. Really pisses me off.

z5 Compact System Memory Usage

Is anyone else commonly seeing "system" consume 1 - 1.2GB of RAM? When restarted, system consumes about 600MB of RAM and the phone runs smoothly. After several hours, the entire phone is almost unusably slow because Android is constantly killing and restarting applications, redrawing takes forever, and it may even take 5 to 10 seconds just to return home.
Info
kaimyn said:
Is anyone else commonly seeing "system" consume 1 - 1.2GB of RAM? When restarted, system consumes about 600MB of RAM and the phone runs smoothly. After several hours, the entire phone is almost unusably slow because Android is constantly killing and restarting applications, redrawing takes forever, and it may even take 5 to 10 seconds just to return home.
Click to expand...
Click to collapse
which apps take the most process?
what is condition of ur phone? any customization? 3rd party mods & etc?
Have u tried factory reset OR install stock firmware of another regions?
:good:
kaimyn said:
Is anyone else commonly seeing "system" consume 1 - 1.2GB of RAM? When restarted, system consumes about 600MB of RAM and the phone runs smoothly. After several hours, the entire phone is almost unusably slow because Android is constantly killing and restarting applications, redrawing takes forever, and it may even take 5 to 10 seconds just to return home.
Click to expand...
Click to collapse
phone is stock but am using google launcher. most process is consumed by facebook, followed by line.
i did wipe it before and it seemed to get better but also could have been placebo. i haven't tried installing firmware from another region mainly because i'm worried about potential radio issues.
same issues here, but happens after 1 or 2 days. possibly some memory leak bugs. have to restart my phone when it getting lag

It isn't able to hold GPS tracking app in background; help me please

Hi, I have a problem with RAM management, or keeping an app running in the background to be more specific. I'm running stock EMUI 4.1.
If I have too many apps opened and stored in RAM (like 5+ or so; such as fb, messenger, email, youtube, instagram, ...), it often causes restart of the apps while switching between these apps I have already opened and stored in RAM. Even if it shows I have 1,5 GB RAM free. What's the point in high RAM capacity in phones (3-6 GB thesedays) when even with that much RAM (and that much FREE RAM) the phone isn't able to hold them really "opened" in RAM all and the apps "reloads" (as if it was launched for the first time) when you try to recall/launch them (quickly, but still).
It doesn't bother me that much generally, but only with one app - GPS tracking apps. After some time (maybe 1-2 hours) it always "drops" the app from RAM (it's still in recent apps though) therefore deleting my existing workout and tracked route. It's annoying. And yes I have the tracking apps selected in "protected apps". It happens still. Once I rebooted the phone, cleared apps stored in RAM so the only app running was Runkeeper. I went cycling and after some time (1-2 hours) I stopped, took the phone out of pocket, turned the display on, clicked on the GPS tracking app and it started to reopen/reload itself and once it reopens -> no trace of my existing workout, everything was gone. All of that with ~2.2 GB of free RAM.
What good does 2.2 GB of "free RAM" do when the phone isn't able to keep the only running app in the background for few hours? I tried many GPS tracking apps, happens always. It didn't happen with my Moto G (1st gen.; 2013) with 1 GB of RAM, but it happens with a lot newer and better phone with 4 GB of RAM?
Any tips for that, anyone? Please?
Don't know if this will help or not. Had a similar issue with a music player app. Gave it permission access for 'Phone'. Did not happen again till now. You can try that out.
You can also try Setting>Apps>Settings>Special Access>Ignore Battery Optimization>'Your App'>Allow

Any way to fix the horrible memory management?

The aggressive memory optimization of the Shield Tablet (K1) is well documented. I'm talking about how apps are cleared from memory when switching to another app. Is there any way to fix it?
My use case: Car tablet. So I switch between apps a lot. Don't game much on it anymore.
- I known about disabling stock apps, like Facebook, etc. Doesn't help.
- I'm unlocked / rooted
- Any kernels that fix this issue?
- I'm willing to use a custom ROM
I think you should go back to Marschmallow (1.5), optionally flash BitO kernel and change zram and swappiness.
Nougat eats much more RAM. @mageus
It's not a RAM issue. Memory settings show the memory is not capping out. Swap algorithms have to do with the kernel's management of memory in general. This is the problem where Nvidia aggressively task-kills (presumably to optimize gaming).
Based on posts, it seems that ROMs (such as Lineage) don't fix this problem.
Does Bit0 fix the multitasking issue? Why can't you use Bit0-k10 on nougat?
I assume Doze is switched off?
mageus said:
It's not a RAM issue. Memory settings show the memory is not capping out. Swap algorithms have to do with the kernel's management of memory in general. This is the problem where Nvidia aggressively task-kills (presumably to optimize gaming).
Based on posts, it seems that ROMs (such as Lineage) don't fix this problem.
Does Bit0 fix the multitasking issue? Why can't you use Bit0-k10 on nougat?
Click to expand...
Click to collapse
You can use the k10 kernel on nougat, though I am not sure if it helps with memory management since I pretty agressively greenified and uninstalled apps and only left the few apps I use. Never the less, perfomance is better, but I still struggle to keep google chrome tabs from refreshing after not using them for a few minutes.
I solved the problem.
Galaxy Tab S2 9.7", $270 Black Friday deal.
I love the K1, but the couple glaring issues ruin it for my purposes.

[KB2003_11_F.13] My apps are getting killed all the time

I cannot even switch from Chrome to System Settings -> while going back with copied build number I had my browser die on me.
That makes task switching unusable.
Obvious stuff:
background app limit in dev settings is set to standard
battery optimization is always ask for apps and disabled for the whole phone
wherever I can get autostart app to be toggled enabled I do and I think it works but not for system apps like Chrome or Maps…
Any ideas? I'm extremely frustrated.
Have a good one!
Developer options>standby apps
Are all buckets showing as active? If not global power management is enabled. However it can't be disabled here. It will be found somewhere in power management.
blackhawk said:
Developer options>standby apps
Are all buckets showing as active? If not global power management is enabled. However it can't be disabled here. It will be found somewhere in power management.
Click to expand...
Click to collapse
not seeing it really, please see the only area that seems related to me
Fun fact: I found I'm low on storage and RAM boost was disabled. Freeing space and rebooting seemed to improve behaviour a little. Still, with 8G RAM even without RAM boost I wouldn't expect as much killing. Or am I wrong?
Try using the search feature in settings to find it if you have that option.
Yup, tried that and there were no results.
Surprisingly after RAM boost switching even with it off killing dropped a lot… so maybe that was some leftover from an upgrade of 12 to 13?
So… "solved", sort of.
panaut0lordv said:
Yup, tried that and there were no results.
Surprisingly after RAM boost switching even with it off killing dropped a lot… so maybe that was some leftover from an upgrade of 12 to 13?
So… "solved", sort of.
Click to expand...
Click to collapse
12 is a mess... 13 seems to be tripping down the same gravel road as well. Stupid Gookill, their best is behind them.

Categories

Resources