Aggressive memory management? - Huawei P20 Questions & Answers

Sorry if this has been discussed before, I am new to the P20.
Does Huawei use some pretty aggressive memory management, or is it just me or setup? I typically have about 1.3 to 1.5GB free RAM, but when I switch tasks with the application switcher it seems like a lot of applications have to cold start and don't come back where I left them... I have a Moto G5 Plus (4GB RAM) device before, and never had this problem, could switch out of a game or Facebook and switch back and forth with no issues... Now if I am playing a simple puzzle game, minimize it and open FB or even something simple like a Google search, then switch back to the game it always restarts.

acejavelin said:
Sorry if this has been discussed before, I am new to the P20.
Does Huawei use some pretty aggressive memory management, or is it just me or setup? I typically have about 1.3 to 1.5GB free RAM, but when I switch tasks with the application switcher it seems like a lot of applications have to cold start and don't come back where I left them... I have a Moto G5 Plus (4GB RAM) device before, and never had this problem, could switch out of a game or Facebook and switch back and forth with no issues... Now if I am playing a simple puzzle game, minimize it and open FB or even something simple like a Google search, then switch back to the game it always restarts.
Click to expand...
Click to collapse
I've experienced similar things. I really think that it's emui9 doing that and throttling background processes

Amphibius2 said:
I've experienced similar things. I really think that it's emui9 doing that and throttling background processes
Click to expand...
Click to collapse
Could be... I have a lot of the Huawei services disabled and am running Nova Launcher and most of the Google applications rather than the Huawei ones. It's not really a problem most of the time, just a little annoying.

That is the biggest problem I have with this phone, I used to have a Huawei P10 with the same amount of RAM and I never experienced this problem.

Related

Any way to limit 'recent apps' in list? Noobish Honeycomb question.

I guess this is my honeycomb ignorance (still getting used to the features) but when pulling up recent apps with the softkey I really only want apps that are currently running.
Are some of these apps are already "closed" and by choosing a thumbnail from the list I'm re-opening these?
Is there a setting anywhere to "limit" the history I see? Like <5 apps or something?
I have Task Killer pro intalled now to manage the real running apps but the Softkey is handier, if I can just be sure of what its supposed to indicate.
Thanks
Sent from my Transformer TF101 using XDA Premium App
I was wondering this as well. I haven't found any way to do it yet.
I don't know of any way except to manage apps in the settings and then kill "running" apps....but remember; these are apps "in memory" like you'd think in Windows.....they are not sucking resources...
I think that there is an article here somewhere about this list and why you shouldn't use an app killer in Honeycomb....
I'm more interested in changing it to a grid layout, like a speed dial.
yeah I know theyre not in memory but they are wasting screen space. I finished playing chess yesterday, I dont think the game should stay in the recent apps list. Froyo & Gingerbread are much better at managing this.
moo99 said:
yeah I know theyre not in memory but they are wasting screen space. I finished playing chess yesterday, I dont think the game should stay in the recent apps list. Froyo & Gingerbread are much better at managing this.
Click to expand...
Click to collapse
I agree. I just want a cleaner recent apps list. Sometimes it's hard to find what you're looking for.
I guess a workaround would be to longpress the home screen, put a widget there that is linked directly to "manage applications" and then it would only be one press and then zap the offending apps.
You do realize the Recent Apps button on the homescreen is just that, a Recent Apps button. It's not exactly a "running in the background" button.
"I finished playing chess yesterday, I dont think the game should stay in the recent apps list."
Why not? It is a recently played app isn't it? LOL.
And yeah, agree with the other reply, if you want a list of running apps.... don't touch the Recent Apps list button lol.
Stop worrying about what's running in the background. Just enjoy the damn Android.
Im not near my TF now but I use Multitasking Pro on my Galaxy S for that. you can choose to open it by double clicking the home button and see only running apps or recent apps - its configurable in the application settings. i does cost about 2$ i think but it was the best 2$ I've spent
this is called a 'Recent apps' list for a reason...it's 'Recent'..not current running...
Well you could always downgrade to 3.0 if it really bothers you. That only showed 5 apps!
LOL. Its a nuisance, not so much a grievance; but I'm glad I'm not the only one annoyed, perhaps this will get looked at ;-)
Possibly once Honeycomb is more prevalent there will come market apps or enough reportage to have an updte with a setting for it, or a utility that tweaks it. Regardless, I appreciate the feedback. At least now I know its sort of "normal".
Sent from my Transformer TF101 using XDA Premium App
My number one wish is for Google to improve multitasking (and give back control to the user as to which programs are running).
As is, the implementation just isn't very usable if you consider it to be a multitasking device -- it's really closer to single-tasking with a memory of what it did recently and the ability to reopen with a similar state to what it last had.
For example, I use my tab during F1 races for timing and scoring. I have F1.com's timing and scoring app, and I have access to a (non-public) website which provides further real-time info through Adobe Flash in a web browser.
If I switch from the web browser to F1.com's timing and scoring app for more than say 10-15 seconds, then back again, the flash app has to reconnect to the server because the web browser ceased running, even though the browser and the F1.com app were the only programs running and had ample memory / CPU power / a mains power supply connected, ie. no reason to halt the browser.
This isn't the only time I hit this issue, it's just one easy-to-explain example.
I'd much rather I had the ability to exit programs / apps myself when I'm done with them, and to keep programs / apps running in the background when I want them to. It'd make the whole experience much more coherent and logical.
The Flash plugin was designed to suspend when you switched apps. It's not an android issue.
Adding "close programs" to the current implementation would not make it more logical, it would make it more convoluted. It doesn't need it.
knoxploration said:
.I'd much rather I had the ability to exit programs / apps myself when I'm done with them, and to keep programs / apps running in the background when I want them to. It'd make the whole experience much more coherent and logical.
Click to expand...
Click to collapse
The problem is that the vast majority of users won't want to handle this themselves, and would expect the OS to do if for them.
Personally, I'm in favour of having some sort of mechanism whereby you can tell the OS not to kill specific tasks if you so choose, but otherwise task management performs as is.
With specific regard to your example, I think that the OS believes it is always OK to kill the browser, which is why it can be killed so quickly after switching away. For other apps, this doesn't seem to happen - for example, yesterday I was connected to a remote server using Wyse PocketCloud, and I frequently switched away to do something else for 30-60 minutes at a time, yet my remote desktop connection was never dropped or killed.
Regards,
Dave
Me personally don't need and don't like this "recent" app button. Or I need it to have an option either to clear it or not. You know we sometimes need privacy over such things
JCopernicus said:
The Flash plugin was designed to suspend when you switched apps. It's not an android issue.
Adding "close programs" to the current implementation would not make it more logical, it would make it more convoluted. It doesn't need it.
Click to expand...
Click to collapse
Agreed, if flash is left to run in the background it will drain the battery like hell..and other system resources as well.
Sent from my Transformer TF101 using XDA Premium App
...and it should be *my* choice whether that happens. That is where this argument totaly falls on its face. *I* know whether it is vital to me that an app remain open, or can safely be closed. The tablet doesn't.
As long as it remains in the tablet's hands, it will continue to annoy me by leving open apps that I no longer need running, while closing apps that I strongly do need running.
magicpork said:
Agreed, if flash is left to run in the background it will drain the battery like hell..and other system resources as well.
Sent from my Transformer TF101 using XDA Premium App
Click to expand...
Click to collapse
that's just it....it doesn't.
Revisiting Android Task Killers and Why You Still Don’t Need One
from another forum.
We almost hate to approach the topic of Task Killers on Android after all this time, but with so many new faces here at Droid Life and in Android in general, it’s something that needs to be done. In fact, after seeing the Amazon app of the day and reading through the Twitter conversations we just had with many of you, this thing needs to be posted immediately.
Let’s see if we can’t get you all some better battery life!
First off, please ignore the image up at the top of the post. If this was 2009 and we were all running something less than Android 2.2, that statement plastered on that red banner might be somewhat correct. But since it is 2011 and the majority of people on the planet are running Android 2.2, we need to get you away from the mindset that killing off tasks on your phone is a good thing.
So rather than me blabbering about the inner-workings of Android and how it manages RAM for the 10,000th time, I’m going to just pull from some posts that friends of ours have done that explain this in the plainest of ways.
First up is our boy @cvpcs who you may know from CM and his Sapphire ROM days. He knows Android inside-and-out, so when he goes into memory management which is done by the OS itself, you should listen up:
…What people don’t seem to realize is that android is designed to have a large number of tasks stored in memory at all times. Why? Well basically we are talking about a mobile device. On a mobile device things tend to be slower. The hardware isn’t as robust as say a desktop or a laptop, so in order to get that same “snappy” feeling, there have to be workarounds.
One of these is how android deals with memory. Android will load up your apps and then keep them running until they absolutely HAVE to kill them. This is because that way, if you want to re-open an app, the system already has it loaded and can then just resume it instead of reloading it. This provides a significant performance increase.
What a lot of people don’t realize as well is that android kernels have their own task manager. This means that:
it will be more efficient than any app-based task manager as it is run at the kernel level, and
it should be left up to that task killer to decide when to free up memory
There is only one case where having a task killer is a good idea, and that is when you want to kill ONE SPECIFIC APP. Killing all apps is never a good idea. You don’t know what operations they are performing or if they are necessary.
Whitson Gordon of Lifehacker suggests that you should be more worried about CPU usage than what’s going on with your RAM. We agree:
This set-up implies that the goal of killing these apps is to free up memory. Nowhere on the list does it mention the number of CPU cycles each app is consuming, only the memory you’ll free by killing it. As we’ve learned, full memory is not a bad thing—we want to watch out for the CPU, the resource that actually slows down your phone and drains your battery life.
Thus, killing all but the essential apps (or telling Android to kill apps more aggressively with the “autokill” feature) is generally unnecessary. Furthermore, it’s actually possible that this will worsen your phone’s performance and battery life. Whether you’re manually killing apps all the time or telling the task killer to aggressively remove apps from your memory, you’re actually using CPU cycles when you otherwise wouldn’t—killing apps that aren’t doing anything in the first place.
In fact, some of the processes related to those apps will actually start right back up, further draining your CPU. If they don’t, killing those processes can cause other sorts of problems—alarms don’t go off, you don’t receive text messages, or other related apps may force close without warning. All in all, you’re usually better off letting your phone work as intended—especially if you’re more of a casual user. In these instances, a task killer causes more problems than it solves.
More on how Android has a built-in memory-management system, but also on how killing all tasks is not a good thing (via: NextApp):
Android was designed from the ground up as an operating system (OS) for mobile devices. Its built-in application and memory-management systems were engineered with battery life as one of the most critical concerns.
The Android OS does not work like a desktop operating system. On a desktop OS, like Windows, Mac OS X, or Ubuntu Linux, the user is responsible for closing programs in order to keep a reasonable amount of memory available. On Android, this is not the case. The OS itself automatically removes programs from memory as memory is needed. The OS may also preload applications into memory which it thinks might soon be needed.
Having lots of available empty memory is not a good thing. It takes the same amount of power to hold “nothing” in memory as it does to hold actual data. So, like every other operating system in use today, Android does its best to keep as much important/likely-to-be-used information in memory as possible.
As such, using the task manager feature of SystemPanel to constantly clear memory by killing all apps is strongly NOT RECOMMENDED. This also applies to any other task killer / management program. Generally speaking, you should only “End” applications if you see one which is not working correctly. The “End All” feature can be used if your phone/device is performing poorly and you are uncertain of the cause.
And we could go on for hours with source after source on why task killers do nothing but work against Android, but you probably get the point now don’t you? Ready for a quick recap? OK.
Basically, Android keeps tasks handy because it thinks you’ll want to perform them again in a very short amount of time. If you don’t, it will clear them out for you. It also likes to keep as many things handy as possible so that the overall performance of your device is top notch. If Android were to completely kill off everything that your phone is doing, then it would require more resources to restart all of them and you would likely run into slowness and battery drains. By keeping certain things available to you, your phone is actually running better than it would without. So please, stop killing off tasks and let Android do the work for you.
Your goal for the week is wash your brain of the idea that having little RAM available is a bad thing. The more RAM available, the more Android will find ways to use it up which means your battery will be dead in hours. Instead, let it manage itself, so that you can spend more time playing Angry Birds or reading Droid Life.
All good now?
A simple reboot clears the list of recent apps. And as others have stated, it's not about running apps but something like the "recent documents" list in Windows 7

Task killers Vs manual force close?

Hi all, ive had my play for a few months now and im having problems with battery life as most seem to have had at some point. Ive tried a bigger battery but it turns the phone into something from the 90s lol....so i then tried some task killers but ive noticed they seem to kill a few tasks, then 5 mins later the tasks have started themselves up again so i spend my time going in and out of the task killer hitting optimise which is a total pain and im thinking pointless? Ive heard these newer builds of android manage tasks anyway but i think there are still some tasks/processes i could do without... My question is, would it just be better to uninstall the task manager and then manually force close tasks/processes i dont need and if i do do this will they stay closed/killed till i manually open them again or reboot, or will they automatically restart themselves? Im mainly talking about preloaded stuff i dont need like timescape and data monitor and other battery eating rubbish.
Rooting is an option but now being on 2.3.3 and awaiting 2.3.4 it seems like alot of agro just to clear some running bloatware (downgrading to uk generic firmware 2.2 then gingerbreak then upgrading then removing bloatware then reinstalling removed bloatware for every update, sigh)... If the damn tasks would just stay closed im sure my battery would last a bit longer...
So any difference force closing tasks manually vs task killers and would it help with battery life?
This is a great phone with 2 flaws one is battery life the second is small internal memory... Rooting seems to help fix these problems from what i have read. Why cant sony release a small app/program to let us clear the bloatware without the hassle of rooting.
This has turned into more of a rant, whoops!
Any ideas...?
Sent from my R800i using XDA App
Right understand this. There is no point closing apps or using task killers in android. It makes no sence. This isnt windows, android handles ram in a totally diffrent way to windows, In windows the more free ram you have the faster the pc/phone right? well it's the oposite in android, the less free ram the better, It means android is managing it's own workload, unlike windows application are split into 2 catagories, Applications and process, Now android can have an application running in the background but it will freeze the active process if your not using it, It will keep the ram that application is using a keep it save, so when you relaunch the app it's fast and smooth, Kill the app and you may reclaim the ram but you have to wait for the application to reload and restart. I think life hacker tells it better then me. Read this!
"Android Task Killers Explained: What They Do and Why You Shouldn’t Use Them
Android task killers improve your phone's performance while also boosting battery life—or at least that's the much-debated promise. Here's a look at how task killers actually work, when you should (or shouldn't) use them, and what you can do instead.
A task killer is an app from which you can (sometimes automatically) force other apps to quit, the hope being that the fewer apps you have running in the background, the better your Android's performance and battery life will be. Not everyone agrees with this premise, though. The argument about whether task killers are effective rages all over the internet: Android forums are full of threads with constant bickering and conflicting anecdotal experience, making it difficult for most users to make sense of the situation.
Below, I'm going to dig into the truth about Android task killers: that apart from maybe some older phones, Android manages tasks fairly well on its own, and how task killers present quite a few problems. I'll also take a look at the rare occasions when they're useful, and offer some alternatives you should try to improve your phone's performance and battery-life quirks.
Before we dive in, here's a quick overview of how Android handles process management by default.
How Android Manages Processes
In Android, processes and Applications are two different things. An app can stay "running" in the background without any processes eating up your phone's resources. Android keeps the app in its memory so it launches more quickly and returns to its prior state. When your phone runs out of memory, Android will automatically start killing tasks on its own, starting with ones that you haven't used in awhile.
The problem is that Android uses RAM differently than, say, Windows. On Android, having your RAM nearly full is a good thing. It means that when you relaunch an app you've previously opened, the app launches quickly and returns to its previous state. So while Android actually uses RAM efficiently, most users see that their RAM is full and assume that's what's slowing down their phone. In reality, your CPU—which is only used by apps that are actually active—is almost always the bottleneck.
Why Task Killers Are (Usually) Bad News
Apps like Advanced Task Killer, the most popular task killer in the Market, act on the incorrect assumption that freeing up memory on an Android device is a good thing. When launched, it presents you with a list of "running" apps and the option to kill as many as you want. You can also hit the Menu button to access a more detailed "Services" view, that lists exactly which parts of each application are "running", how much memory they take up, and how much free memory is available on your phone. This set-up implies that the goal of killing these apps is to free up memory. Nowhere on the list does it mention the number of CPU cycles each app is consuming, only the memory you'll free by killing it. As we've learned, full memory is not a bad thing—we want to watch out for the CPU, the resource that actually slows down your phone and drains your battery life.
Thus, killing all but the essential apps (or telling Android to kill apps more aggressively with the "autokill" feature) is generally unnecessary. Furthermore, it's actually possible that this will worsen your phone's performance and battery life. Whether you're manually killing apps all the time or telling the task killer to aggressively remove apps from your memory, you're actually using CPU cycles when you otherwise wouldn't—killing apps that aren't doing anything in the first place.
In fact, some of the processes related to those apps will actually start right back up, further draining your CPU. If they don't, killing those processes can cause other sorts of problems—alarms don't go off, you don't receive text messages, or other related apps may force close without warning. All in all, you're usually better off letting your phone work as intended—especially if you're more of a casual user. In these instances, a task killer causes more problems than it solves.
What You Should Do Instead
That said, not all apps are created equal. Many of you have used task killers in the past and actually found that after freeing up memory, your phone works a bit better. It's more likely that this is because you've killed a bad app—one that was poorly coded, and (for example) keeps trying to connect to the internet even when it shouldn't. Any performance increase you experience is more likely because you killed the right app, not because you freed up loads of memory (or, in many cases, it's just placebo). Instead of killing all those apps, find out which ones are actually causing the problems. If you really know what you're doing, you may benefit from using a task killer to stop the one or two inefficient-but-loved apps on your phone.
Note, however, that this is still a contested notion. A lot of developers (including ROM builder extraordinaire, Cyanogen) will not even look at your bug reports if you're using a task killer. In this humble blogger's opinion, your best bet is to stay away from regular task killer usage entirely. If you absolutely have to have that one battery-killing app on your phone, though, kill away—just be aware that when you experience a recurring Android bug later on, the task killer may be at fault. Of course, you can just stop using it to determine whether that is or isn't the case.
With task killers firmly in the better-off-without box, there are still a number of other things you can do to fill the void, improving your performance and battery life:
Watch for Runaway Processes: Previously mentioned Watchdog is a slightly different kind of task killer, in the sense that instead of telling you your phone's out of memory and it's time to go on a task killing spree, it alerts you when the occasional app starts eating up CPU for no reason. You can then kill the app with Watchdog and get on with your day (though honestly, at that point, I usually just reboot my phone). If it happens often with the same app, however, you may want to move on to the next step.
Uninstall Bad Apps: Worse than the occasional, one-time runaway app is the poorly coded, always-eating-CPU app. If you find (with Watchdog or through some other method) that a particular app seems to drain CPU and battery life whenever it's running, confirm your suspicions by uninstalling it and seeing what happens. If an app is causing problems on your phone, you're probably better off without it.
We advocate rooting Android devices a lot at Lifehacker, but that's because it really is as useful as everyone says it is. You can over- and underclock your phone with SetCPU, install custom ROMs that noticeably improve performance and battery life, and use the ever-useful, crapware-thwarting Autostarts utility to stop apps from starting up on your phone in the first place. Honestly, with one-click rooting apps like previously mentioned Universal Androot available for most phones, rooting only takes a few minutes to do, and you'll be much happier for it.
Update: Many of you also mentioned the root-only app Titanium Backup, which will help you get rid of the pre-installed crapware that comes on most phones, which are one of the worst offenders of phone lag. Thanks to all of you that sent this in!
Seriously, Use the Power Control Widget: This may sound ridiculously obvious, but if you aren't already using some form of the Power Control widget, you should. The things that drain the most battery on any smartphone are Wi-Fi, Bluetooth, GPS, and your screen. Turn them off when you don't need them and you'll find that you can eke out considerably more battery life.
Charge Your Phone: Even more obvious yet rarely heeded advice: Charge your phone often. This isn't as hard as it sounds for most people. While you're sometimes stuck going out for 14 hours with no place to charge your phone, the majority of us spend our days in our homes, our offices, and other places rife with electrical outlets. Buy a few extra chargers and place them strategically around your home, car, and office. Whenever you're sitting around at home or working away at your desk, you can use that time to dock your phone and give it some extra juice without worrying about battery or performance drains. Before I upgraded to Android 2.2, my battery life was pretty awful, but just having a charger in my car and next to my computer made a huge difference in how often I got the dreaded "low battery" message."
Theres no way to remove the bloatware without root access. I rooted my xplay yesterday using the new zergrush method, you dont need to downgrade or anything you just type in a bunch of stuff in the command promt and its done.
Just to add on to AndroHero's post. In short, Task Killers actually REDUCE your battery life. Just leave it alone, turn off bluetooth and wifi, etc when youre not using them, keep your text message conversations low, and your email inbox clear. Thats about all you can do.
Also the battery life may be related to your coverage area. My phone will last all weekend at home, but is dead in 8 hours at my office due to all the interference and poor cell service coverage, its always searching for signal.
Very interesting thank you for the detailed explanation and tips. Im gonna remove my task killer and try watchdog if i can, to keep an eye on my cpu. I am also going to look into rooting my phone, its just the constant android updates and horror storys of rooted phones with removed bloatware bricking after OTA thats putting me off.
I can understand how having an app in memory ready to go keeps your phone quick (in the same way a cookie in your browser cache makes a page load faster?) but if the app is monitoring data or connecting to the net then they are using some cpu and need to be terminated or stopped from starting. It looks like the only way to do this is to root and then as said in your post ill beable to stop them starting up in the first place.
Thanks again for your time and info
Sent from my R800i using XDA App
b4d5h0t said:
Very interesting thank you for the detailed explanation and tips. Im gonna remove my task killer and try watchdog if i can, to keep an eye on my cpu. I am also going to look into rooting my phone, its just the constant android updates and horror storys of rooted phones with removed bloatware bricking after OTA thats putting me off.
I can understand how having an app in memory ready to go keeps your phone quick (in the same way a cookie in your browser cache makes a page load faster?) but if the app is monitoring data or connecting to the net then they are using some cpu and need to be terminated or stopped from starting. It looks like the only way to do this is to root and then as said in your post ill beable to stop them starting up in the first place.
Thanks again for your time and info
Sent from my R800i using XDA App
Click to expand...
Click to collapse
Rooting is not going to do this for you. Rooting WILL allow you to remove apps that have no use to you whatsoever. But apps, even ones you aren't using are still going to behave like this. Not only that, but those actions are part of what keeps them snappy. And if you kill them, all you would be doing is making it harder and slower to run them when you need to as it will do all those things you wanted it to not do while it was in the background. That drains the battery more. The path you are following with this isn't gonna solve your problem. Android manages its memory on its own better than any of us can.
As I mentioned about coverage area, for example do you have poor service where you are? If you have WiFi keeping it on will prevent the phone from searching for data service which will help.
b4d5h0t said:
Very interesting thank you for the detailed explanation and tips. Im gonna remove my task killer and try watchdog if i can, to keep an eye on my cpu. I am also going to look into rooting my phone, its just the constant android updates and horror storys of rooted phones with removed bloatware bricking after OTA thats putting me off.
I can understand how having an app in memory ready to go keeps your phone quick (in the same way a cookie in your browser cache makes a page load faster?) but if the app is monitoring data or connecting to the net then they are using some cpu and need to be terminated or stopped from starting. It looks like the only way to do this is to root and then as said in your post ill beable to stop them starting up in the first place.
Thanks again for your time and info
Sent from my R800i using XDA App
Click to expand...
Click to collapse
You may also want to try a minifree manager like autokiller in the market. Rather that acting like a task killer, it can edit androids built in process manager you can change how much ram is allocated to background and foregrounds apps and also how much memory android cache's, the cache is the minium amount of ram that android allows to be free, you could set it to 150mb if you wanted, then android will never let your free ram go lower than 150mb.
Sent from my R800i using Tapatalk
Nice one ill look into it
Sent from my R800i using XDA App
Just let Android manage itself, My Xperia play will last an entire day with a lot of use such as wifi, Bluetooth and other things.

[Q]Ram issues Nexus S Jelly Bean!

This is my first post on XDA and although i'm not new to the android scene having owned a lot of devices in previous years but I never came down to post queries of my own cause everything used to go real smooth!
I recently got a Nexus S i9020t from a friend and tried flashing a Jelly Bean rom on my device.
No issues so far with everything working with every rom that i've tried...
The only thing that bugs me is the ram.
I've tried several kernels on top of different roms (Matrix, Air (Big-Mem version), Marmite etc.) designed for Jelly Bean but I never to seem get any greater ram than about 150-170 mb even on first boot with no applications installed and when I restore about 50 of my apps through titanium it goes down to 120-150 at max.
I have tried rebooting my device every now and then but the ram leak doesn't get any better.
That way most apps that I run crash my device (im a big fan of chrome on android but the lack of availability of free ram degrades performance)
I've been looking into using different free task managers on the play store but of no use.
Simply put, my question relates to the free ram this device can generate!
Can anyone give me an explanation as to the lack of free ram and what kernel, tips and tricks I could follow to improve it?
You can try flashing a kernel that supports BIGMEM(check the development section). Since you're new you won't be able to post any question regarding said mod. Basically gives you 50mb of extra RAM which, IIRC, takes away from the HD recording portion of the phone or something of that nature. The 512MB RAM sucks, but I never had an issue with it on mine. Then again, I never really ran a lot of applications. Android can handle the tasks on its own and free up memory when needed. But you may face a few launcher redraws now and then.
chronophase1 said:
You can try flashing a kernel that supports BIGMEM(check the development section). Since you're new you won't be able to post any question regarding said mod. Basically gives you 50mb of extra RAM which, IIRC, takes away from the HD recording portion of the phone or something of that nature. The 512MB RAM sucks, but I never had an issue with it on mine. Then again, I never really ran a lot of applications. Android can handle the tasks on its own and free up memory when needed. But you may face a few launcher redraws now and then.
Click to expand...
Click to collapse
Yeah so like you said I did try the Big Mem versions of Air Kernel and Matrix but it was never really of much use. Matrix gives me about 180 mb of ram when the device has no foreground apps running (except the system processes of course) and Air goes to about 140-160 not more.
The thing that I don't get is that this other friend runs Jelly Bean on his Galaxy S with Devil Kernel or something and his free ram is above 190-ish.
Technically both sport the same hardware with a few extras on Nexus S (led flash, lack of gorila glass, NFC etc.) but it really doesn't make sense.
And about those Launcher redraws. Yeah, they've been going really frequent now that I installed and use chrome as my daily browser.
Overall, in my experience I'd say Matrix Kernel would be perfect if it weren't for that Voodoo Colour Mod. It gives a weird hue to my display orangy in nature but Air comes around well in that department.
We all understand what you're experiencing. Basically, our Nexus S devices just are not able to keep up with the ever increasing size of electronic files. Even though it's nice to be able to run JB, it really stretches the Nexus to it's limits. I too am torn, because I love the smoothness of 4.1.1, but to be honest, the phone can handle GB much easier. One other thing, Chrome is a huge consumer of ram ... really too much for the NS. As much as I love my Nexus, the handwriting is on the wall, if I really want to continue to enjoy all the new stuff coming our way.
The colors can be adjusted to your liking. Some kernels have a setting that's not the factory norm(ie Trinity). You also have to keep in mind some of that RAM has to be dedicated to the OS itself. You're gonna have to deal with the fact the phone has a memory limitation on 4.1. Sucks, but there's really not much else you can really do about it.
I could never get above 125MB on GB even with a custom kernel. With only 512MB ram, more than half of that is already used by Android itself, there's not much left for apps. That said, I would remove unnecessary widgets on home screens, install Autostarts, or ROM Toolbox, or Gemini App Manager or other autostart management app and turn off autorun triggers on apps. The less background apps the more rams you can free up. I'm currently running with about 75MB and it's smooth. I set auto free rams to start killing apps if it's below 45MB.
Sent from my Nexus S using xda premium
[email protected] said:
I could never get above 125MB on GB even with a custom kernel. With only 512MB ram, more than half of that is already used by Android itself, there's not much left for apps. That said, I would remove unnecessary widgets on home screens, install Autostarts, or ROM Toolbox, or Gemini App Manager or other autostart management app and turn off autorun triggers on apps. The less background apps the more rams you can free up. I'm currently running with about 75MB and it's smooth. I set auto free rams to start killing apps if it's below 45MB.
Sent from my Nexus S using xda premium
Click to expand...
Click to collapse
Those auto triggers you talk of what software do you use to counter those cause I just looked at the cached processes inside the stock Application Manager and it showed a few that always show up when my phone boots. Of those that I usually encounter is Titanium, Maps, Google Search and a two or three more. Killing them doesn't make much of a difference though. Either the ram display at the bottom is screwed or the ram just doesn't go up when I abort any one of them and after a while they again show up. How do I deal with them?
Some general points.
Yes we want more ram. But we want it to use it. Free ram is wasted ram.
Task managers suck. All of them.
Low ram should not crash your device.
Stop worrying about how me free ram you have
Chrome sucks. It sucks on all devices. Sucks on n7. AOSP just runs better.
Want to keep a little more free ram because your device lags when its low on ram. Go to developer options and limit background processes
I'm with al. No point in over-obsessing about it. Cached processes aren't doing anything. They're there for when you want to switch apps for quicker access, which part of the way Android operates. You can limit what starts on startup to increase boot time(probably not even worth it), which I do even though I just said it probably doesn't help much, with a startup manager.
I to am no fan of task killers. I've heard that they can sometimes consume more ram since some of the killed apps will try to start again.
I found the autostarts app very useful. I have disabled around 50% of all auto starts. Mainly for installed apps but also a bunch of system apps. Another useful tool is Auto Memory Manager which sets the ram level where the system kills apps according to their category (e.g. Foregroud, visible, hidden etc). I use the "mild" manager with the level for empty apps raised. I manage to get around 80 MB free when running nothing. However I have a performance ROM which might affect that number.
My Nexus S has been retired a long time now.. I'm currently using the GS3 with lots of rams so it's not an issue for me anymore dealing with low rams... However, same symptoms on the GS3 or any Android phone, the less available rams means more processes are running which can cause slow app responsiveness. Also, some app even runs in the background hogging load of cpu usage, that definitely slows down your phone. I use task manager to kill off those high cpu apps when they go wild. OS Monitor is a good app for monitoring cpu usage... GO SMS Pro is an example app that sometimes persistently consumes 30% - 50% cpu, killling it off makes the phone smooth again.
S-beamed from my GSIII via xda premium

About RAM use, development and priorities

Hello peepz,
This is sort of a development thing but since I am neither a developer or very adept at codes (I'd call myself a sorta competent end-user) I thought I'd just post in the general forum.
We hear a lot about ram use and how we do not have to worry about it and android handles it. I understand how android handles memory but I have a problem with the ram use regardless. Operating an older device with just 1 gig of ram I am frequently dealing with lag and redraws because android has to make room for a new or old app I'm launching. The cause is usually found in apps that have absolutely no business keeping themselves in memory. I just deleted a simple website reader that hogged 30 MB persistently. Before that I deleted the Facebook app and messenger that together claimed 100 MB, even though I use greenify.
I am rooted, on cm 11 never used app killers. Why is my android using different priorities than me?
I just wondered.... Could there be a function in android where we could manually assign priority levels load apps? Personally, I could not care less if I have to wait a bit for Facebook to load but I get really aggressive if I have to wait for my app drawer, home screen or phone book.
Or is it purely a development thing where apps are told by there developers they are the king of the droid and the most important thing ever and behave as such? Why does my ram manager still think it is cool to kick out my launcher in favor of a social media app?
Manually assigning priorities could really make a device behave the way the user wants.
Or maybe I completely get it wrong...
Anyway, please discuss and have a glorious day!

Does this tablet just not want to multitask?

So I have had the tablet for a week now, running Marshmallow. Just rooted, nothing more. One thing that is driving me nuts with this tablet is that the way it uses its memory. It does not want to keep apps in memory.
For instance. I can be playing a game, jump out to Chrome, surf for a minute, go to email, then go back to my game and the game needs to reload. I look at the RAM and it says I have like 800mb free. This happens over and over to me.
Is this just normal for the Shield that it aggressively closes apps so fast. I am just comparing to my Nexus 7 that didn't behave like this and I thought it was very odd.
Any advice would be appreciated, thanks!
Good question. I self have noticed this behaver, but I have the K1 only for a bit more than a week too and upgrade directly to Android 6.0, so I can't say if that happens on 5.x too. A Bug? A "Feature" of Android 6.0 or of the K1 itself? What ever it is, I don't like it, makes no sense for me, the K1 have enough RAM.
jev3gs said:
So I have had the tablet for a week now, running Marshmallow. Just rooted, nothing more. One thing that is driving me nuts with this tablet is that the way it uses its memory. It does not want to keep apps in memory.
For instance. I can be playing a game, jump out to Chrome, surf for a minute, go to email, then go back to my game and the game needs to reload. I look at the RAM and it says I have like 800mb free. This happens over and over to me.
Is this just normal for the Shield that it aggressively closes apps so fast. I am just comparing to my Nexus 7 that didn't behave like this and I thought it was very odd.
Any advice would be appreciated, thanks!
Click to expand...
Click to collapse
I'm noticing similar behavior but can't effectively tie it to the Marshmallow update either. I'm running stock with Action Launcher 3 as my launcher.
I see the same reload for apps when I've switched between multiple in one sitting. The one place I notice it frequently is in my use of Muzei, which I use in conjunction with Tapet, for changing wallpapers. It seems like at least once a day I access my tablet and notice that the wallpaper has reverted to a stock, static wallpaper and Muzei needs to be "activated".
sfringer said:
I'm noticing similar behavior but can't effectively tie it to the Marshmallow update either. I'm running stock with Action Launcher 3 as my launcher.
I see the same reload for apps when I've switched between multiple in one sitting. The one place I notice it frequently is in my use of Muzei, which I use in conjunction with Tapet, for changing wallpapers. It seems like at least once a day I access my tablet and notice that the wallpaper has reverted to a stock, static wallpaper and Muzei needs to be "activated".
Click to expand...
Click to collapse
Well I have no went back to 5.1, and the same problem. I can be playing a game, come out to the browser for a minute or 2, then go back to the game and it needs to be fully reloaded. Honestly I am soo surprised it acts this way, especially with 2GB of ram. It is such a let down. I wish people would have mentioned this in there reviews in the product as I saw it no where. I hate to say it, but it drives me nuts enough I am about to be an Ex-shield owner. I like playing games on this but I am sure other people are like me where they play for 15 -20 minutes. Put it down for a little bit, come back and want to play more. This just doesn't allow for that. It acts more like a portable console. constantly needing to be relaunched.
It's really annoying that it dumps apps out of memory. Like say I'm in Facebook and I want to look up a link in chrome to reply to a comment with.. So I switch to chrome find the link, switch back to Facebook, and now I'm at the main page again and have to scroll and find where I was at and sometimes I just can't and give up. Why Nvidia why?!
Sent from my HTC M9 using Tapatalk
ou2mame said:
It's really annoying that it dumps apps out of memory. Like say I'm in Facebook and I want to look up a link in chrome to reply to a comment with.. So I switch to chrome find the link, switch back to Facebook, and now I'm at the main page again and have to scroll and find where I was at and sometimes I just can't and give up. Why Nvidia why?!
Click to expand...
Click to collapse
As far as I can tell, this is a bug/feature that Nvidia is responsible for. At first, I used to worry about switching between a game like Real Racing 3 and Chrome browser. The game will almost certainly close. Now, the there's an even bigger problem. I can't have a reasonable amount of tabs open in Chrome. They reload each time I switch to them. I considered switching to Firefox and/or Opera to see if the problem would persist but I just can't do without Chrome's syncing capabilities.
The only thing keeping me from rooting and trying out a custom ROM is the loss of Nvidia's proprietary apps.
albert0pia said:
As far as I can tell, this is a bug/feature that Nvidia is responsible for. At first, I used to worry about switching between a game like Real Racing 3 and Chrome browser. The game will almost certainly close. Now, the there's an even bigger problem. I can't have a reasonable amount of tabs open in Chrome. They reload each time I switch to them. I considered switching to Firefox and/or Opera to see if the problem would persist but I just can't do without Chrome's syncing capabilities.
The only thing keeping me from rooting and trying out a custom ROM is the loss of Nvidia's proprietary apps.
Click to expand...
Click to collapse
The chrome tab problem might not be tablet related. I have the same issue on my Sony Xperia Z3 compact and on my Nexus 9. Maybe chrome sucks up so much ram that it forces android to close app in the background and tabs to unload?
DBBGBA said:
The chrome tab problem might not be tablet related. I have the same issue on my Sony Xperia Z3 compact and on my Nexus 9. Maybe chrome sucks up so much ram that it forces android to close app in the background and tabs to unload?
Click to expand...
Click to collapse
My Marshmallow-running HTC One M8 handles this better than the tablet that has a more powerful hardware. I don't know how many tabs my phone can handle at a time but I know the tablet doesn't even come close in that regard.
I didn't buy a 2GB RAM tablet only to have it treat my browser tabs like an iPad with 1GB of RAM.
Holy crap... uninstall Facebook and Messenger and this thing flies. I always felt like it gamed "ok" but the UI was laggy as hell. Uninstalled FB and Messenger and now this thing is a beast.
T1Pimp said:
Holy crap... uninstall Facebook and Messenger and this thing flies. I always felt like it gamed "ok" but the UI was laggy as hell. Uninstalled FB and Messenger and now this thing is a beast.
Click to expand...
Click to collapse
I would recommend that on any android device. I've noticed on all of my devices with facebook that it was listed as the number one app for battery use even when I hadn't launched it in days. After uninstalling it I got improvements in battery life and now I just use their mobile website in chrome. I actually like that better as links open up in a new tab and there is no need to switch apps to go back and forth between facebook and web pages. I also created a home screen link to the facebook mobile website and put it in a folder on one of my home screens.
I hated the aggressive ram management of the stock rom initially so i rooted it and flashed BitO-k4 kernel , it improved but not up to the mark compared to my nexus 5x , now i use CM13 temasek's build (multirom) and it is way way better.
i think the stock rom is the initial culprit here, removing apps like facebook might help but things like swap , zram and ram management values present in stock will always be bottlenecks for true multitasking.
try using different kernels from our community it might help a bit.
Try kernels from 4pda.ru
http://4pda.ru/forum/index.php?showtopic=617264&view=findpost&p=48990563
or
http://4pda.ru/forum/index.php?showtopic=617264&view=findpost&p=46309014
T1Pimp said:
Holy crap... uninstall Facebook and Messenger and this thing flies. I always felt like it gamed "ok" but the UI was laggy as hell. Uninstalled FB and Messenger and now this thing is a beast.
Click to expand...
Click to collapse
If you still want to use fb try the app tinfoil for Facebook. That kinda goes for anyone regardless of what they are using, it's a lot better. Facebook apps suck so bad with resources they slow just about anything down...

Categories

Resources