Confusion about what is in memory -> Greenify vs. Recents - T-Mobile Galaxy Note 4 Q&A, Help & Troubleshooting

Ok. I'm trying to improve performance, and evaluating memory and tools.
I have installed Greenify and set everything that is not necessary to be 'Greenified'.
So I can use Recents button, and clear all. Then load Greenify, so I have this in memory according to the Active Applications from recents:
Then checking Greenify, it will list some apps as "Will hibernate a few minutes after phone is off'. That implies to me that those apps are in memory, but then, they don't show up in recents:
And, I can shut the phone of for 5 mintues, and Greenify looks the same.
So are they in memory or not? Is Grennify not working correctly?
I wonder sometimes about these cleaning and memory management/app management apps whether they are really doing anything or not.
Maybe the confusion is a difference between being 'in memory' vs. 'active'.
Can anyone clear the fog?

ewingr said:
Ok. I'm trying to improve performance, and evaluating memory and tools.
I have installed Greenify and set everything that is not necessary to be 'Greenified'.
So I can use Recents button, and clear all. Then load Greenify, so I have this in memory according to the Active Applications from recents:
Then checking Greenify, it will list some apps as "Will hibernate a few minutes after phone is off'. That implies to me that those apps are in memory, but then, they don't show up in recents:
And, I can shut the phone of for 5 mintues, and Greenify looks the same.
So are they in memory or not? Is Grennify not working correctly?
I wonder sometimes about these cleaning and memory management/app management apps whether they are really doing anything or not.
Maybe the confusion is a difference between being 'in memory' vs. 'active'.
Can anyone clear the fog?
Click to expand...
Click to collapse
I've been confused with these types of apps lol

Related

[Q] All apps seem to load on startup

Hi,
It appears that any time I reboot the phone, it starts with all applications loaded.
Unless I go to Advanced Task Killer and kill all, my phone is very slow. Also free memory jumps from about 90M to 150M after the kill.
Does anyone know ho to stop that from happening? Is there some kind of startup list that can be edited?
I am using rooted UCJH7 but no other tweaks and fixes.
Thanks
You could have just searched the market for 'startup'.
There are quite a few startup editor apps in the market, I haven't tried any, but most of the reviews seem pretty hit or miss. Just search "startup" in the market.
Well android handles memory management really well. Those apps load up and take a very small amount of memory and when you open the app it will increase the memory usage and when you close it it will run in the background again and take up very little memory. The fact the apps are open in the background shouldn't slow down your phone. The fact you have 90mb free is good. This isn't windows mobile where the more free memory you have the faster your phone is. There are apps u can use to see if your apps are running in the background or foreground when your not using them. If they are running in the foreground and taking up alot of memory then there's a problem. Hope i explained the memory management well enough.
And btw for future reference, read the stickies. You posted this in development. Should be posted in Q and A
jasonyump said:
Well android handles memory management really well. Those apps load up and take a very small amount of memory
Click to expand...
Click to collapse
The fact remains, free memory almost doubles after I kill them.
>The fact the apps are open in the background shouldn't slow down your phone.
The fact is that they do slow down the phone a lot.
The problem is that it seems that all applications get fired indiscriminately. And the question is if someone with some knowledge of Android internals can shed some light on that.
I will post specific numbers on memory after I reboot it next time.
alexnoalex said:
Hi,
It appears that any time I reboot the phone, it starts with all applications loaded.
Unless I go to Advanced Task Killer and kill all, my phone is very slow. Also free memory jumps from about 90M to 150M after the kill.
Does anyone know ho to stop that from happening? Is there some kind of startup list that can be edited?
I am using rooted UCJH7 but no other tweaks and fixes.
Thanks
Click to expand...
Click to collapse
i too thought so initially. but when i started observing, i observed that the apps that load up at start up are generally the apps that i frequently used.

[Q] ignore Apps in 2.2 Task Manager

how the title says how can someone ignore Apps which are need like (sms time fix) when one clears the memory and not having to restart the app every time after clear memory
Just don't use the level 2 clear and you'll be fine. Only apps you should ever kill are the ones that show up in "Active Applications". Except for your launcher of course. Killing system apps and services is like shooting yourself in the foot.
ryude said:
Just don't use the level 2 clear and you'll be fine. Only apps you should ever kill are the ones that show up in "Active Applications". Except for your launcher of course. Killing system apps and services is like shooting yourself in the foot.
Click to expand...
Click to collapse
How so? Could you elaborate?
I'm sincerely curious as to why the L2 clear is a bad idea.
Thanks, dude!
Senor Forum said:
How so? Could you elaborate?
I'm sincerely curious as to why the L2 clear is a bad idea.
Thanks, dude!
Click to expand...
Click to collapse
Clearing L2 level cache kills essential android processes too, and system would again need to restart all the needed ones again. Read abt 'android memory management' (link in my signature), and see if that helps.
Senor Forum said:
How so? Could you elaborate?
I'm sincerely curious as to why the L2 clear is a bad idea.
Thanks, dude!
Click to expand...
Click to collapse
App data is stored in RAM so that you use less CPU the next time you run that app. RAM uses much much less power than CPU, why would you want to have empty RAM?
If an app in your task manager shows cpu % next to it, then close it because you don't want the CPU to be used at all.
As the previous two said, why would you need to have RAM free?
This is not like BBOS, which needs like 25% memory free in order to start an app.
The whole reason for having high RAM is to use it, if it is always free (unused) what benefit do you get from it?
Using task killers or freeing up memory in order to save battery is only going to drain your battery more.
Android loads programs into memory based on what it deems needs to be available to run quickly... and once you kill it, it will use CPU to load it again shortly thereafter.
CPU is a bigger drain on power than letting programs hang in memory.

How to stop "running" and "cashed processes"?

I know that android is very good at handling background processes and ram but I have so many apps that I don't use at all. They consume big amount of ram and for instance, sometimes browser loads pages again when I get back to it from another app. I assume this is because of ram. So I guess, if I can shut down some running apps in the background, available ram would be more.
I can see them at settings-apps-running(or cached processes).
For example, right now in "running" section I have 9 processes and 3 of them are poweramp, awesome beats, accuweather.com and in "cached processes" I have 10 processes and 6 of them are beautiful widgets,calendar storage,google account manager, google search, calendar, google play store. Other processes are system services that I have no problem with. When I go to developer settings-background process limit and block them, there are no cached processes anymore but that probably has a side effect. I wish I could choose which apps I want in the background.
I can shut down these apps manually but every time I restart the phone, they are there again. How can I stop them?
if you rooted, you can use Autostarts or ROM toolbox from the playstore. it can change the receivers of the apps not to start at boot
CooLasFcuK said:
I know that android is very good at handling background processes and ram but I have so many apps that I don't use at all. They consume big amount of ram and for instance, sometimes browser loads pages again when I get back to it from another app. I assume this is because of ram. So I guess, if I can shut down some running apps in the background, available ram would be more.
I can see them at settings-apps-running(or cached processes).
For example, right now in "running" section I have 9 processes and 3 of them are poweramp, awesome beats, accuweather.com and in "cached processes" I have 10 processes and 6 of them are beautiful widgets,calendar storage,google account manager, google search, calendar, google play store. Other processes are system services that I have no problem with. When I go to developer settings-background process limit and block them, there are no cached processes anymore but that probably has a side effect. I wish I could choose which apps I want in the background.
I can shut down these apps manually but every time I restart the phone, they are there again. How can I stop them?
Click to expand...
Click to collapse
The simple answer is that you don't need to stop them!
As you say, Android is already very good at keeping track of background processes, to the extent that if a new program needs more RAM, Android itself will kill a background process that hasn't been used for a while to free up RAM for the new program.
The Cached processes screen SHOULD be full of recently used programs; it shows that Android is doing what it is supposed to do and is shifting inactive processes out of active RAM in case you want to load it again, without completely dumping the process memory.
Now, as for the side effect you mentioned, that would be a significant hit on battery life. By holding programs in RAM as it is supposed to do, the OS can load the program quickly and cleanly and more efficiently by simply reading the RAM rather than reading flash, writing to RAM, then reading from RAM. The general mantra for UNIX based systems is that unused RAM is wasted RAM.
Another thing to note is that if you do not close tabs when switching active programs (including going to homescreen) then the Browser is designed to hold that tab in memory. Even if you close the Browser (excluding closing the tab specifically with the "little x"). Even if you reboot the damn phone, it will still load the tabs/pages you had open last. The pages are not held in memory as such, just what was open and what tab order, so if you do open the browser after a while, it will load the last page from scratch.
TL;DR version: The running and the cached processes will remain exactly where they are until a new program needs more RAM than is available, at which point Android will kill something to make room. You do not need to do this manually. It will cause more power drain by making very inefficient use of RAM/Flash memory. Empty RAM is wasted RAM.
whilst Chaos is right, I notice severe performance drops when ram is filled, despite Androids theoretical advantage. It doesnt work...
Best to prevent from loading altogheter.
Root, lose warranty, backup apps, uninstall or freeze apps so the bloatware is removed.
For others, change autostart settings in Romtoolbox. So they wont start on boot.
Search for safe stuff to delete. There are lists for that
Sent from my GT-N7000 using Tapatalk 2
Or just dont install the apps that you dont really need.
Via GtN7000
LoVeRice said:
Or just dont install the apps that you dont really need.
Via GtN7000
Click to expand...
Click to collapse
Lol, even then you might still need to remove bloatware lol
Sent from my GT-N7000 using Tapatalk 2
Thanks so much for detailed answers.

[Q] Resident in Memory

Hi. Just a general question about resident in memory. I noticed in the Xposed Apps Settings Module there is a "resident" option you can select.
As I understand, this allows you to keep your program in memory, presumably so that it starts up faster. Are there other good reasons to keep programs resident? For example is this a way to improve multitasking experience? Can it hurt performance because, if overused, you can start hogging too much memory? Another situation: sometimes I would edit a file using Polaris and then put it in "background" by pressing home button. Most of the times I can return to where I left off in Polaris via recent apps but sometimes the new changes are missing. This usually happen after some heavy usage or after several hours had passed. So, besides just saving changes, would selecting "resident" for Polaris prevent this from happening?

Over-aggressive background task and notification killing on Honor 7 Lite (NEM-L21)

I'm on Honor 7 Lite (NEM-L21C432B356), I love the phone hardware itself but the stock OS (EMUI 5.0.2) is driving me crazy. Background tasks get killed really quickly and often notifications get deleted before I can even see them. I've tried factory reset and everything I've found on Google to no effect.
This isn't about the known push notifications issue. Notifications do work, but then they usually disappear almost immediately. I sometimes hear the notification tone, pick up the phone and unlock it to see a notification icon in the top bar for less than a second and then it's gone. Or if a notification comes in when I'm using the phone, I might see the notification in the list briefly and then it just vanishes.
Background tasks like Twilight or JuiceSSH with statusbar icons seem to get killed really aggressively. This seems to happen more to some apps than others, but I can't figure out any common denominator for the apps. It happens to both online and offline apps.
I've disabled everything related to Huawei's task killing/battery saving settings and added all apps to all exception lists that I've been able to find. Free memory seems to hover consistently around 500-700MB, I don't think I've ever seen free memory dip below 500MB.
It's hard to get good memory stats out of Android 7 without root, but it almost seems like the OS is pre-emptively keeping that 0.5GB of RAM free in case some foreground app wants a lot of memory, and it's willing to pre-emptively kill background tasks, even ones with status bar icons, to achieve it. I don't know if this is true, but Huawei doesn't seem to trust Android's own memory management much in general, with all their dumb "memory cleaning" and "battery optimization" stuff.
I'm at my wits' end here. I rely on seeing all notifications to keep up with reminders and other things, and I need background apps to stay there when I multitask. Custom ROMs aren't really an option, since I want everything on the phone to Just Work without any extra fiddling and hassle and I can't risk my only phone. I appreciate custom ROM developers' work though.
Thanks in advance for any useful answers.
On the P9 Lite with 2 GBs of RAM they are using more than 1.5GBs of zRAM which is crazy. I don't think that's needed at all. If your phone is rooted, you can install a Magisk module called Swap Torpedo to disable swap and maybe change some LMK values. Also you can disable the Power Genie app if you don't have root access.
erayrafet said:
If your phone is rooted, you can install a Magisk module called Swap Torpedo to disable swap and maybe change some LMK values. Also you can disable the Power Genie app if you don't have root access.
Click to expand...
Click to collapse
I'm not rooted, because unlocking the bootloader and rooting would trip SafetyNet, which I can't afford because I need some apps that depend on SafetyNet and I don't want the whole cat and mouse game with Magisk trying to keep ahead of Google on that.
Thanks a lot for the Power Genie tip (called Power Genius on my phone), I haven't seen that mentioned anywhere else and will try it out. I hadn't noticed that process at all since it's running under AndroidSystem.
Edit: unfortunately the "Disable" button is grayed out on Power Genius, so disabling it doesn't seem like an option. I can stop it manually, but I assume it'll just get autostarted again. I don't seem to have permissions to hide it from adb shell either.
Same problem here (NEM-L51C432). It aggressively kills all background applications. This prevents multitasking. It is annoying to see a lot of RAM is free and will not be used. RAM is there to take use of it and not to keep it free.

Categories

Resources