Memory Management for CM - Nook HD, HD+ Q&A, Help & Troubleshooting

Hello,
I'm a little behind the times as I just installed cm 12.1 on my Nook HD+.
I'm running into available RAM problems with my Nook HD+.
First, I've tried reducing the number of apps that start at boot,
either through the Boot Manager app or by turning off "run at startup"
in the app's info. Boot Manager does not list all of my apps, and
turning off "run at startup" is not present as an option in many app info's.
Also, many apps seem to magically reclaim RAM after being shut down
by a task manager. I have a few questions.
What are the best apps available for boot management? Are there better ones
than Boot Manager?
Does the RAM reclaiming happen irregardless of the task killer?
What are the memory management "secrets" of Lollipop (or Marshmallow)?
Do I have to live with fewer apps on my Nook HD+?
Is there a good source that describes memory management for Android?
Thanks

You should never have to manually manage apps that are in RAM with Android. It does it automatically and efficiently. What makes you think there is a problem? The HD+ has 1GB of RAM and android keeps it automatically full so that apps can start quickly.
You might be confusing RAM with available storage space and with a 16GB device you can run out of storage space very quickly if you install many apps and a lot of media.
Sent from my SM-T707V using XDA Premium HD app

Hello again,
NO, I am definitely talking about RAM. I've installed Advanced Task Manager
and it reports available memory. After boot, available RAM is approximately
150-250MB only. At 150MB apps start crashing. It's hard to keep the browser
running without a crash after a few minutes. Right now, to prevent trouble
I have to "boost" to get back over 200MB. After a minute in an app,
other apps have restarted and RAM drops from that 200MB quickly. I don't
like to boost so often. If you need the specific .zip I installed, I can post
that for everyone . I guess development of CM 12.1 has finished.

Greenify is the solution
THE Solution: Greenify. Amazingly simple hibernation app.
Who needs freeze apps.
Thank you

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] How to have more free memory

Hi guys thanks for your time, so this is my doubt
When i turn on my phone i have 170 MB available memory but after a while down to 70 MB sometimes to 40 MB, what should i install to have more than 100 MB free?? i already have [email protected] 256Hz #97 Kernel and 2.2.1 XXJPY firmware.
thanks
regards
Usually this won't matter because with the Android OS, it will usually keep all the stuff you close (internet, contacts, recently accessed menus etc) cached in it's RAM as a non active application until you happen to tab into it again, thus instantly loading.
Android is also smart enough to know since the application is inactive, if it's eating your memory, it will force-close these applications to free up memory for the new applications. ie, I'm running internet, close it, and my memory is up to 280mb, then try to run AngryBirds and it will close the Internet app + others if it has to.
So... usually not an issue, but if it does become an issue you can run a service/task killer app that will handle all nonactive apps and terminate them. Or you can just clear level 1+2 ram periodically and it will reset it back to default until it starts filling with crap again.
Ok i have advanced task killer but i was reading in some topics in this forum that some guys have more than 150 MB free without using a task killer
Advanced task killer eats your battery
android doesn't need a task killer, as it kills tasks itself.. i don't know why there are so many out there they just eat up battery..
one app I would suggest is 'auto-killer' its free and I have mine set to aggressive. that's all you need to do then forget about it.. it keeps your memory from getting bogged down.
ok thanks for the tips

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] Increasing free RAM memory.

I've seen threads where people said that their i9000 they have ~200 MB of free available RAM. That's really surprising. Can this be caused by a kernel?
I have around 100 MB of free RAM at most times, running CM10, stock kernel.
Sent from my GT-I9000 using xda premium
Sent from my GT-I9000 using xda premium
When you have big free RAM, it just means your Rom has only a few applications running, maybe because you removed all those apps that you feel are unnecessary or a Task Killer is killing the inactive apps.
See quote of Wikipedia on Android OS Ram Management:
"Since Android devices are usually battery-powered, Android is designed to manage memory (RAM) to keep power consumption at a minimum, in contrast to desktop operating systems which generally assume they are connected to unlimited mains electricity. When an Android app is no longer in use, the system will automatically suspend it in memory - while the app is still technically "open," suspended apps consume no resources (e.g. battery power or processing power) and sit idly in the background until needed again. This has the dual benefit of increasing the general responsiveness of Android devices, since apps don't need to be closed and reopened from scratch each time, but also ensuring background apps don't waste power needlessly.
Android manages the apps stored in memory automatically: when memory is low, the system will begin killing apps and processes that have been inactive for a while, in reverse order since they were last used (i.e. oldest first). This process is designed to be invisible to the user, such that users do not need to manage memory or the killing of apps themselves. However, confusion over Android memory management has resulted in third-party task killers becoming popular on the Google Play store; these third-party task killers are generally regarded as doing more harm than good."
GrippingSphere said:
When you have big free RAM, it just means your Rom has only a few applications running, maybe because you removed all those apps that you feel are unnecessary or a Task Killer is killing the inactive apps.
See quote of Wikipedia on Android OS Ram Management:
"Since Android devices are usually battery-powered, Android is designed to manage memory (RAM) to keep power consumption at a minimum, in contrast to desktop operating systems which generally assume they are connected to unlimited mains electricity. When an Android app is no longer in use, the system will automatically suspend it in memory - while the app is still technically "open," suspended apps consume no resources (e.g. battery power or processing power) and sit idly in the background until needed again. This has the dual benefit of increasing the general responsiveness of Android devices, since apps don't need to be closed and reopened from scratch each time, but also ensuring background apps don't waste power needlessly.
Android manages the apps stored in memory automatically: when memory is low, the system will begin killing apps and processes that have been inactive for a while, in reverse order since they were last used (i.e. oldest first). This process is designed to be invisible to the user, such that users do not need to manage memory or the killing of apps themselves. However, confusion over Android memory management has resulted in third-party task killers becoming popular on the Google Play store; these third-party task killers are generally regarded as doing more harm than good."
Click to expand...
Click to collapse
I have cm10 rom so if i didnt use any task killer im getting lags in games.. so do you have any option fir that????
If someone help me i definitely HIT THANKS....
Try changing kernel or increase RAM. Some kernels have an option to increase RAM.
Or it may be necessary to try other Roms.
I'm using C-Rom and I can say I don't experience lag on this Rom.
But some games are just too demanding on RAM, designed for 2 or quad cores, that our phone may not handle.
Which kernel you would recommend to install?

[Q] High RAM usage

I wiped my Note the other day and installed the XXLSA Jellybean leak on it, and noticed even before installing any apps, my RAM usage hovers at
around 600MB. After installing my apps and using the task killer to kill background processes, I'm still at around 650MB. Is this normal?
Is there a list or something floating around of apps and services safe to freeze using Titanium? I know the saying around here is free RAM is wasted RAM, but I'd actually like to assign more RAM to Limbo PC Emulator.
Somewhere in the forum is exactly such a list. I just almost have any clue where.
Maybe you can find it in Dr.Ketans Toolbox Thread or a Sticky or a Search with "safe to remove" as term.
iPWNtehNOOB said:
I wiped my Note the other day and installed the XXLSA Jellybean leak on it, and noticed even before installing any apps, my RAM usage hovers at
around 600MB. After installing my apps and using the task killer to kill background processes, I'm still at around 650MB. Is this normal?
Is there a list or something floating around of apps and services safe to freeze using Titanium? I know the saying around here is free RAM is wasted RAM, but I'd actually like to assign more RAM to Limbo PC Emulator.
Click to expand...
Click to collapse
Uninstall the bloatware (list of apps that can be removed), then use Autorun Manager (or similar app) to stop the processes starting during boot.
Shyam said:
Uninstall the bloatware (list of apps that can be removed), then use Autorun Manager (or similar app) to stop the processes starting during boot.
Click to expand...
Click to collapse
That's the list I was after! Thanks!

Categories

Resources