Help keeping programs in memory - G1 Q&A, Help & Troubleshooting

Hi, I'm looking for some advice on how to force my Dream to keep certain apps in memory, no matter what.
I'm currently running Dwang's rom 1.13, and the apps that I use all day long are Chompsms, Gmail and Dolphin browser.
I believe my rom uses compcache as standard, however time and again I'll go to open up my mail or sms, and i get a blank screen for 1-2 sec, as the app loads into memory. I don't even generally use other memory-hogging apps (like camera, maps) at all, so I can't understand why my most used apps are not always in memory? I only have 1 or 2 webpages open in Dolphin as well, and when I go back to that, generally it has to reload one or other of the pages.
Advanced Task Manager shows that I currently have 21mb free memory.
Can anyone suggest a way to keep the apps I want in memory permanently?
Thanks!

Related

Random programs in task manager

A lot of times I will get random programs that I never use listed as open in the task manager. Mp3 store, nba league pass, documents to go, they all keep opening up again even though I never use them. Is there a reason for this? There are other apps that do this too, I just listed the ones I see most often.
Yes, this is normal. Android loads applications until the RAM is almost full, so they're ready to pop up in an instant when you actually launch them. If an application requires more RAM to work with than available, the system will shut down some of the inactive applications.
There are those task auto-killer programs out there that people use because they think it makes their phone run faster or tidied up, but in fact, most of the time they will slow it down because applications will take longer to start. And consume more power, because there's more work to do when starting an app. A properly written application won't consume any power when inactive, and the RAM has to be powered anyway, so that's why you want it to be used as much as possible.
Thanks for the info!
Is there anyway to exclude certain apps from opening up? There are apps on the phone like mp3 store or the stock messaging app that I would never use, so it would be more worthwhile to get the system to keep apps I actually use open instead of just random ones.
djsaad1 said:
Thanks for the info!
Is there anyway to exclude certain apps from opening up? There are apps on the phone like mp3 store or the stock messaging app that I would never use, so it would be more worthwhile to get the system to keep apps I actually use open instead of just random ones.
Click to expand...
Click to collapse
Search.. All your questions have been asked and answered before.

[Q] Close apps?

Old question I know, but most answers only mention memory handling. When memory runs out, Android closes background apps automatically.
Fine, but what about all the CPU the app takes up while loaded in background?
I just made a little test with a few games (only apps I have that will actually use up all memory). Memory-wise it works fine, if I load to many the games in the background will get unloaded. But if I only load up Worms and press "home" to get it into the background, it will still be loaded and take ~30% CPU
If I use "back" most apps will really close, but some are really annoying to close this way since you have to go through all the pages you have viewed (like IMDb).
The browser will not even close this way so I might as well just press "home".
What's the solution? I dont want to find out the specific way to exit for every single app, I want a universal solution. And "home" doesnt seem to be that universal as I hoped.

[Q] Problem with multitasking

Problem with multitasking : everytime I'm using the browser and switch to some other app and switch back to browser, browser restarts it self
I'm using nik_v4
use a different browser like opera,boat browser,firefox etc.
it depends, the system might be aggressively freeing up memory once you switch the application (that is if you are low on free memory) or another thing, it depends how you switch the application. in this case, a browser, you usually click Home and start another app (that send the current application in pause mode, in the background), but if you clicked Back to get back to the homescreen, the system will interpret this as a kill application sign, it will not keep it in the background. i'm not giving alternatives just trying to explain how stuff works. check if you are low on memory, try it with different browsers (i recommend Dolphin browser).
facing similar problem with firefox
andrei.je said:
it depends, the system might be aggressively freeing up memory once you switch the application (that is if you are low on free memory) or another thing, it depends how you switch the application. in this case, a browser, you usually click Home and start another app (that send the current application in pause mode, in the background), but if you clicked Back to get back to the homescreen, the system will interpret this as a kill application sign, it will not keep it in the background. i'm not giving alternatives just trying to explain how stuff works. check if you are low on memory, try it with different browsers (i recommend Dolphin browser).
Click to expand...
Click to collapse
i switch between apps using long press of home button still browser keeps closing and restarting i always have atleast 150 mb memory free
suggest a few memory hogging apps i'll remove them if i have
at least 150mb free means you don't have a memory problem. but this behavior is a bit odd. it might be from the current kernel you are using and it might be implementing a very aggressive memory freeing task manager (killing any application as soon as it is sent in the background). if you have installed a market task manager or any memory freeing app i suggest you uninstall them. you might also wanna try flashing a new kernel and see if it changes anything (make sure new kernel is compatible with your current ROM). i'm using niks 4.0 ROM with RCMIX-Vivo kernel and i don't have this problem.

How's your experience with app background closing on ICS?

Hi. I tried a few of ICS roms available for i9000 out there, and all of them are pretty fast, much better than I expected. The only issue I have with any ICS rom I've recently tried is that they close apps in background quite often. For example, I might open my Opera Mobile, switch to SMS app, send a message, and then when I return Opera has to start over and load all the pages again. Does it happen to You as well? As a comparison, I tested it with a 2.3.4 MIUI rom I had as a Nandroid backup, and it's much better - most apps stay open in background for a longer time.
Is it possible that ICS has that bigger of a memory footprint over Gingerbread? What are your opinions on that? Experienced similar issues? Any workarounds?
warnec said:
Hi. I tried a few of ICS roms available for i9000 out there, and all of them are pretty fast, much better than I expected. The only issue I have with any ICS rom I've recently tried is that they close apps in background quite often. For example, I might open my Opera Mobile, switch to SMS app, send a message, and then when I return Opera has to start over and load all the pages again. Does it happen to You as well? As a comparison, I tested it with a 2.3.4 MIUI rom I had as a Nandroid backup, and it's much better - most apps stay open in background for a longer time.
Is it possible that ICS has that bigger of a memory footprint over Gingerbread? What are your opinions on that? Experienced similar issues? Any workarounds?
Click to expand...
Click to collapse
Try using less widgets. Don't use apps like Facebook. Check push notification services of some apps.
Also, i seem to remember that Opera Mobile tends to "forget" loaded pages very quickly, if you don't come back to the app quite fast...
You can also try and check under settings > developer options > see if you have checked "don't keep activities" and under "background process limit" choose "standard limit"
Since I'm only getting advice, I take it I'm the only one having this problem? Strange. The only widget I have on my desktop is the stock ICS analog clock widget, and there is no such thing as "Developer options" in my Opera Mobile.
Right now I'm using AOKP rom b27, there is an option called "Free memory - Amount of RAM the minfree taskkiller will keep". I tried to change it to max possible - 100MB, didn't change anything.
Is you are using ICS roms, you never had such issues? Which roms do you use?
PS Could a different kernel make it better?
Opera uses alot of memory and the phones memory is very limited. Doesn't matter the ROM it will often get closed when you leave it to do other things.
BTW increasing the memory the OS keeps free makes it worse, how do you think it frees memory? By closing things. You actually want to decrease the memory it keeps free to try and help with this. The downside is that the phone will probably lag more and I have found it doesn't help much.
I'll try to use the stock browser. As to that task manager setting:
The description says:"Amount of RAM the taskkiller will keep", so I have no idea if it means keeping some RAM available at all times or is it the amount of RAM that can't be cleared.
warnec said:
I'll try to use the stock browser. As to that task manager setting:
The description says:"Amount of RAM the taskkiller will keep", so I have no idea if it means keeping some RAM available at all times or is it the amount of RAM that can't be cleared.
Click to expand...
Click to collapse
It is never the amount of RAM that can not be cleared it is the amount of RAM to keep free. ie if you set 64MB Ram to be kept free Taskkiller will keep that amount of memory free by killing the oldest non active task/process

[Q] "please wait while we load your data" after using chrome.

Whenever I use chrome on my nook hd plus (running the nook stock software) and press the home button the home screen has to reload it takes like 5 seconds load. It happens with some other apps to but mostly just chrome. Running nova launcher fixes this but I would like to use the stock launcher. I get the nook isn't the most powerful device on the market but
With 1.5ghz dual core proccesor with 1gb of ram it shouldn't have to do that. I've tried task managers on auto kill and even ram managers and apps that modify the built in android task manager (although I dont have root) I tried dolphin browser which seemed to work fine but would rather use chrome. Any way to fix this?
its memory.
BrandonB1312 said:
Whenever I use chrome on my nook hd plus (running the nook stock software) and press the home button the home screen has to reload it takes like 5 seconds load.
Click to expand...
Click to collapse
Most likely its ram.
Android will unload/suspend background apps when running out of memory. As we all know browsers are memory intensive applications.
in fact the more capable your browser the more memory it will need for pages, images, plugins, additional processes such as flash, js, etc.. .
from the android dev site. application life cycle page , stopped section.
Stopped
The activity is completely obscured by another activity (the activity is now in the "background"). A stopped activity is also still alive (the Activity object is retained in memory, it maintains all state and member information, but is not attached to the window manager). However, it is no longer visible to the user and it can be killed by the system when memory is needed elsewhere.
Click to expand...
Click to collapse
Thanks gonna use nova launcher since it dosent take as much ram.

Categories

Resources