[Q] Manual Ram Reset? - Samsung Infuse 4G

Let me begin by saying I have a rooted Infuse with Infused 2.2.3 Gingerbread and the Infusion Kernel.
As I use the Infuse over the course of the week, apps get started up and slowly my memory goes down. I can shut off some apps manually, but some refuse to get turned off, even by ram clearing apps and manual rooted actions.
Whenever I want to speed my phone up again and free up Ram, I have to reset my phone.
My question is how would I go about clearing the ram on my phone back to the 'phone-on' starting position, when my apps have yet to be activated?
I have used Advanced Task Killer to attempt this and it does not permanently close apps. I have also used Autokiller Memory Module to close programs, but they also do not stay closed (Is there something to Chuck Norris mode?).
Does anyone know a way to clear the ram back to that point? Any help would be greatly appreciated.

Check this out to know more about Android memory management
You do NOT need any memory managers to manage. Let android manage memory.

Please actually read!
Please read my statement before you answer.
Once again, my phone's internal memory manager works FINE, but it does over time get bogged down by too many apps trying to start at once.
My ONLY question: Can I reset the phone's memory back to a reset state without resetting my phone?
Thanks for anyone who knows an answer to this!

sonomar said:
Please read my statement before you answer.
Once again, my phone's internal memory manager works FINE, but it does over time get bogged down by too many apps trying to start at once.
My ONLY question: Can I reset the phone's memory back to a reset state without resetting my phone?
Thanks for anyone who knows an answer to this!
Click to expand...
Click to collapse
Read again:
Apps don't start at once, nor compete. Based on usage of apps, OS loads them into RAM, and keeps them there. The amount of RAM to be always left free is set initially. Rest of the RAM is filled here. Apps filled like this do NOT use CPU. They use CPU only when they are invoked, or backgrounded.
Say you are done working with an app, and use the exit function in it. It just signals OS its end, but the app is not cleaned out of RAM. It is kept until it is invoked again, or pushed out until more free RAM than available is needed or when pushed out manually using task manager.
When any app wants more RAM than what is available, the preloaded ones are pushed out, and this app is loaded.
Too many apps compete for CPU and memory when a user starts hitting "home" button instead of "back" button. Home button pushes apps to background wherein the back button signals u r out of the app. This sets the app to be pushed out of RAM as needed.
I use pretty many apps, and sometimes go on for over a week without bothering to use any task manager to clear out RAM nor noticing any lag.
And to be specific to your question:
There is no time like initial start time until the phone is rebooted again. If u give the phone some time to settle after u reboot it, u can see apps being to memory, be it that they are invoked by you or not. Even if ATK or any task killer kills them, OS respawns them over time based on ur usage of them.

Thanks, I'll try pushing the back button more often and see if that works...though for google apps that usually isn't allowed.
The problem is that even with Android's automatic system, I'm still being given "Low Memory" warnings on all my apps within a few days of rebooting.
I dunno, I think that currently the only real solution is to reboot my phone bi-daily, but I really was hoping there was a way to reset the OS ram without a full reboot.
Again, thanks anyway!

sonomar said:
Thanks, I'll try pushing the back button more often and see if that works...though for google apps that usually isn't allowed.
The problem is that even with Android's automatic system, I'm still being given "Low Memory" warnings on all my apps within a few days of rebooting.
I dunno, I think that currently the only real solution is to reboot my phone bi-daily, but I really was hoping there was a way to reset the OS ram without a full reboot.
Again, thanks anyway!
Click to expand...
Click to collapse
Maybe u have too many apps open. Not sure what's the case on ur phone. Personally I never faced this low memory issue so far.
By the way, I froze up certain system apps (in tibu) (even deleted some) that I don't use, like Google search, etc cos these r always loaded and I never use them.
Sent from my SAMSUNG-SGH-I997 using XDA App

I have the same problem
sonomar said:
Let me begin by saying I have a rooted Infuse with Infused 2.2.3 Gingerbread and the Infusion Kernel.
As I use the Infuse over the course of the week, apps get started up and slowly my memory goes down. I can shut off some apps manually, but some refuse to get turned off, even by ram clearing apps and manual rooted actions.
Whenever I want to speed my phone up again and free up Ram, I have to reset my phone.
My question is how would I go about clearing the ram on my phone back to the 'phone-on' starting position, when my apps have yet to be activated?
I have used Advanced Task Killer to attempt this and it does not permanently close apps. I have also used Autokiller Memory Module to close programs, but they also do not stay closed (Is there something to Chuck Norris mode?).
Does anyone know a way to clear the ram back to that point? Any help would be greatly appreciated.
Click to expand...
Click to collapse
I have a tablet android 4.1. After some time I don't have runing apps and I don't have free memory. I don't have running tasks, I don't have cashed tasks. And I don't have free memory. After this critical point the tablet needs restart. Of course after restart everything works fine, for some hours. After sleep the above critical point comes quicker... The problem seems to me like driver or software problem but I can't be sure... I m searching for a similar solution for an app that can without restart, restart my ram, clear completely my ram, not task killing because at the end I don't have tasks to kill... It looks like somehow a garbage ram is created after some time, that kills my ram. It looks like virus but it is not virus as the device is new and I have check for viruses...

Just get the app Startup Manager, stop all user apps (except some that you do want to run), apply, and reboot

Cache cleaner free from the market. I use cache cleaner ng.
sent from outer space.

Quick and easy approach - use Fast Reboot.
Brings the phone to like-rebooted condition... in about 5 seconds.
Normally don't need it, but occasionally phone gets bogged down and this clears it right up.
Free program.
Another step - a little more work - Find the programs that are running with a service and get rid of them if you don't need them... or use Gemini Apps manager to block auto-start. Google Maps is a good one to block auto start of.

Related

Advice please - need more speed!!

Hi, I've started this thread to get some advice from the members who are experienced in modding their phones.
As lots of G1 owners did, I greedily installed app after app until i was running low on space and ended up getting rid of a load. By this time my phone was running slowly anyway.
After recently playing with JF 1.5 then going to the official cupcake release, i have now only installed 24 apps and have 60mb free internal memory - so plenty of space for the browser/maps/youtube caches to grow.
My problem is understanding exactly how the system works though. How can I force each app to continue running in the background until I go back to it?
When first opening an app it takes anything from 0.5sec (dialer) to 17sec (maps) to go from the initial blank screen to actually drawing the app interface on the screen. This is fine when you first use an app, and if you go home then back to the app this is pretty much instant because the app is still running.
My problem however is the small number of apps the system allows to keep running before closing them, it only seems to be about 4 or so, and when you reopen an app you used a little while ago then you have to go through the painfully slow initial waiting while the app interface is drawn on the screen.
My questions really then are:
1. How many apps does the system keep running, and can this be increased? If so, then how & at what price?
2. Is there a way to force the system to always keep certain apps running and not close them (apps I use repeatedly througout the day, such as gmail, chompsms, browser)? I want the instant snappiness all the time for these apps.
3. Can I force the system to close other memory/processor hog apps as soon as I finish using them (maps, youtube, gallery)?
4. Will moving my apps and dalvik cache to a really fast class 8 microsd card help the speed of my phone in any way? Or is this just a way to increase free space on my phone memory?
Thanks in advance for any answers/advice/help!
17 sec for map? Something is wrong. I just opened my map and it took 2 sec to open up the map, another 1 sec to get my rough location. I was inside so I can't comment on getting exact GPS location but, if I had to guess, usually it's about 4-5 sec to lock onto that.
Now onto your question: Android manages it's own memory and there's no way of telling it how to manage it. You can do couple of things:
1) Get an "Open Overclocker" and increase the speed of you CPU to 384/528Mhz from stock 284/384Mhz
2) Get "Task Manager for root users" which will let you shut down programs that you don't use.
3) Reduce the number of widgets you have installed. In my experience, all of the news widgets run in the background even if you don't have them on your screen.
4) Clear you caches regularly (once a day). Very important.
5) Reboot your phone once a day.
Good luck.
borodin1 said:
17 sec for map? Something is wrong. I just opened my map and it took 2 sec to open up the map, another 1 sec to get my rough location. I was inside so I can't comment on getting exact GPS location but, if I had to guess, usually it's about 4-5 sec to lock onto that.
Now onto your question: Android manages it's own memory and there's no way of telling it how to manage it. You can do couple of things:
1) Get an "Open Overclocker" and increase the speed of you CPU to 384/528Mhz from stock 284/384Mhz
2) Get "Task Manager for root users" which will let you shut down programs that you don't use.
3) Reduce the number of widgets you have installed. In my experience, all of the news widgets run in the background even if you don't have them on your screen.
4) Clear you caches regularly (once a day). Very important.
5) Reboot your phone once a day.
Good luck.
Click to expand...
Click to collapse
I've just opened my map again after rebooting the phone (and ensuring wifi is switched on, so there's no delay in downloading data for the map) and it took 7sec from hitting the icon until i had a map drawn on my screen. So perhaps the 17 sec was a one off. Even still, it feels painfully slow.
I will look into rooting my phone, and the over clocking and the TaskManager.
The only widgets i have installed are the google search bar, and a playlist.
Any thoughts on moving my apps/dalvik cache to a fast sd card? I think i read somewhere that a class 6 sd card is about the same speed as the internal memory in the G1, so would a class 8 card be even faster than this with regard to loading apps up?
Thanks for your advice so far!
There are multiple discussions about that and at this point it sounds like it does not matter where you caches are in terms of speed. Don't ask me why, I'm not that tech savy. Most people move caches to save space and to avoid clearing them every day. The beauty of this is that you can try it out and go back if you think it's not for you.
Also... look into what apps do you have on your phone, some of them may bog down system significantly. I know for sure that Phonebook from VoxMobile will, there are few others, can't remember which though, look for the thread about it from couple of months ago.
Good luck.
Thanks borodin1!
You do realize, unless the section of the map is cached, it has to be downloaded over your wireless connection right? (and cell networks has a very long latency.)
As to your questions 1-3, all running tasks are managed by the android system and non-active ones are terminated if memory is required by an active program. You cannot control this, but you can kill running apps if you want.
Also due to the slow nature of the terrible dalvik VM, you can't get much performance improvement by moving the dalvik-cache. I suppose you can get some boost by increasing the CPU speed, but the battery life will be much shorter.
billc.cn said:
You do realize, unless the section of the map is cached, it has to be downloaded over your wireless connection right? (and cell networks has a very long latency.)
Click to expand...
Click to collapse
Which is why people move caches to the card and don't have that problem
but the map app does not use /cache. the latter is designed for non-transient temporary storage, not for big chunks of junk like the map.

How to lock *phoning* process in memory ?

*please don't read "my phone is slow" but "I want the telephony functions load (very) fast"*
Hi,
I'm trying to find a way to get dialer, calls log and contact list fast as light.
Exemple: each time you launch the dialer he is keep in memory. If you launch "heavy" application and launch the dialer (Oops: I mean contact list) again it's take up to 5 secs to appear.
*Edit because of unhelping answers elsewhere* It's possible to lock "telephony functions" (dialer, call's log and contact list) in memory ?
As I say in another forum : I know this is a strange idea, but I have this smartphone to call people too !
Edit: I use a rooted HTC Magic 32B w/ Cyanogen mod 4.2.15.1 plus 10mb Hack/JIT...
I'm not sure what you mean by "keeping in memory". I take it that you have recently switched from windows mobile? Can you give an example of a "heavy application" that causes slow down?
I would suggest removing any task manager or memory optimization applications from the phone. These are the ones which cause the most slow downs.
Also, the slow down could be caused by putting more stuff on the phone than it is capable of, as in running too many background applications. Try checking your settings->application->running services to see if you have a bunch and try removing the unnecessary ones.
Also, keep in mind that just because an application is in memory, will not make it faster to switch to. The time that it takes for the CPU to load something from disk is only a small part of the total time that is required to display it. If the CPU is occupied with a bunch of background services then the foreground application will only be able to claim a share of the CPU time and thus, regardless of being on disk or in memory, will still be slower to load.
Maybe you can use a swap device to optimize memory usage?
ady said:
I'm not sure what you mean by "keeping in memory". I take it that you have recently switched from windows mobile? Can you give an example of a "heavy application" that causes slow down?
Click to expand...
Click to collapse
In fact, heavy application is not the good explaination, it's more about how Android manage memory. So when I talk about "heavy application" I'm talking about the application who, because of Android memory managment, unload another "thing" from RAM.
Two day ago someone ask me to add him in my contact list and i've to tell him to wait a little until my contact list to load.
The original question, who was not understand by others people elsewere, is :
If I launch the dialer (or contact list) once, it load "slowly" (~2secondes, "very long")... if I immediatly press home and launch it again it load almost instantaneously (fast as light)...
Now, if I load some applications (web browser, gmail and Spotify at same time) memory is freed so, if I launch the dialer again, it will load "slowly" again.
Question : How to get the case 1 for dialer, call's log and contact list in most situation ?
I can understand that slow load time may happend in some case (high cpu load, ...) but why after the first launch, the second one (without doing anything else) is *VERY* fast ?
"Keep Home in memory" in Spare Parts allow fast display of home after using "heavy" applications (maybe because he's already loaded/keeped in RAM or stuff like that), I want the same for the telephony functions.
I'm trying to avoid "garbage" solutions like autokiller&co, just want a real tips (even if it's a little bit more technical than create a swap partition).
PS: I never touch a WM phone, before my phone was old, not multi-task and "telephony functions" was faster than right now
*bump*
I would like to lock the dialer in memory too. It takes a LONG time on CM5.0.8 (5 seconds!) to launch. Any ideas?
Bump! I have the same problem. Any solutions ?
bump
in CM7 there is an option to keep home in memory which lock the home data in ur memory when ever u press the home button it switch fast to it cuz it was never killed
maybe that affects the loading of other apps since it takes a space of ur memory depending on what u have on your home screen but for some ppl its important to switch fast to home screen ... same for the messaging app
On the other hand there is No option to lock Phone app in the memory although its way more important than keeping ur home screen in memory ,,, i mean its what the phone was made for in first place...
why do i need to wait 2-5 seconds til the phone app loads so i can dial a number ,,, makes u miss the old times really!!
i hope any one knows a way to lock the phone app in memory so it's always awake and loaded when ever its in need and it shouldn't affect the load of other apps since its very light and its way lighter than home app :/
EDIT:
i found a solution here :http://forum.xda-developers.com/showthread.php?t=1532937

background, multitasking, task killer?

So being somewhat new to android.... the one thing I always wondered is, what is the BEST way to deal with certain programs? I am using advanced task killer... and if I bring it up right now, there might be 20 programs runnings... so I "kill" them all.....
open it up again right away, 6 of them restarting already.... and I am talking about apps I rarely use and do not need in the background at all.... I can only assume this adds to battery drain and slow down.
So my question is, is there a better app I should be using... or is there a way to tell an app to only launch/work on demand etc?
any input appreciated
thx
Mr.Kakarot said:
So being somewhat new to android.... the one thing I always wondered is, what is the BEST way to deal with certain programs? I am using advanced task killer... and if I bring it up right now, there might be 20 programs runnings... so I "kill" them all.....
open it up again right away, 6 of them restarting already.... and I am talking about apps I rarely use and do not need in the background at all.... I can only assume this adds to battery drain and slow down.
So my question is, is there a better app I should be using... or is there a way to tell an app to only launch/work on demand etc?
any input appreciated
thx
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=6426198#post6426198
i just switched over from LauncherPRO to GO Launcher and it's fantastic !!!!!!!
with build in Tasks Manager (with option to kill each app or kill all running apps)
thanks to you both, I will give it a try/read
one question though... once you kill them, do they stay killed... or fire back up pretty quick? Battery life is really a non issue, I just wanted to know if I should be doing more!
Mr.Kakarot said:
thanks to you both, I will give it a try/read
one question though... once you kill them, do they stay killed... or fire back up pretty quick? Battery life is really a non issue, I just wanted to know if I should be doing more!
Click to expand...
Click to collapse
Free memory is wasted memory in the Linux environment that Android runs, so Android's memory manager will always try to load up stuff that it thinks you'll be using to have it ready and waiting to go when you want it.
That's the irony of people trying to use task killers on Android; most of the time it's pointless, since Android will just re-load the apps anyways. Sometimes a rogue app that just won't close and is sucking up juice unreasonably should be killed, but generally, it's best to avoid using any kind of task killer. The links provided by someone earlier should give you a good understanding of this.
distortedloop said:
That's the irony of people trying to use task killers on Android; most of the time it's pointless, since Android will just re-load the apps anyways. Sometimes a rogue app that just won't close and is sucking up juice unreasonably should be killed, but generally, it's best to avoid using any kind of task killer. The links provided by someone earlier should give you a good understanding of this.
Click to expand...
Click to collapse
i would normally agree with you on this
but i've come across a dozen apps that gets HUNG in memory, and partially locks up the phone
and the only thing that can fix it, is by Killing the app or apps that hung
without a task killer, the only thing to do is to take out the battery
yes, some times it gets so bad that it wont even launch the shut down menu
and the weirdest thing is that usually those apps that hung, they work normally, except for some conflicts with other apps, every now and then
AllGamer said:
i would normally agree with you on this
but i've come across a dozen apps that gets HUNG in memory, and partially locks up the phone
and the only thing that can fix it, is by Killing the app or apps that hung
without a task killer, the only thing to do is to take out the battery
yes, some times it gets so bad that it wont even launch the shut down menu
and the weirdest thing is that usually those apps that hung, they work normally, except for some conflicts with other apps, every now and then
Click to expand...
Click to collapse
That's why I said "mostly", not "always".
Apps like that would be removed from my system until the developer fixed them.
Never underestimate the power of a poorly written app to bring any system to its knees, desktop or phone.
Mr.Kakarot said:
thanks to you both, I will give it a try/read
one question though... once you kill them, do they stay killed... or fire back up pretty quick? Battery life is really a non issue, I just wanted to know if I should be doing more!
Click to expand...
Click to collapse
coughcoughReadTheLinkcoughcough
Paul22000 said:
coughcoughReadTheLinkcoughcough
Click to expand...
Click to collapse
I remember this post from a long time ago, it's a great read. I've used watchdog ever since
AllGamer said:
i would normally agree with you on this
but i've come across a dozen apps that gets HUNG in memory, and partially locks up the phone
and the only thing that can fix it, is by Killing the app or apps that hung
without a task killer, the only thing to do is to take out the battery
yes, some times it gets so bad that it wont even launch the shut down menu
and the weirdest thing is that usually those apps that hung, they work normally, except for some conflicts with other apps, every now and then
Click to expand...
Click to collapse
Settings>Applications>Running Services?
when it's hung you have no access to anything but holding HOME until the Task Manager pops up

[Q] Out of Memory

Stock, unrooted, still locked, as it came from the factory One S:
Do you ever find that when you close an app and go back to the launcher (Rosie), Rosie has been purged from memory and needs to reload? Takes about 10 seconds with the "loading" animation before you can do anything. Pretty poor really for a standard setup. Will be rooting at the weekend, but any other tips to stop this happening?
kuroneko007 said:
Stock, unrooted, still locked, as it came from the factory One S:
Do you ever find that when you close an app and go back to the launcher (Rosie), Rosie has been purged from memory and needs to reload? Takes about 10 seconds with the "loading" animation before you can do anything. Pretty poor really for a standard setup. Will be rooting at the weekend, but any other tips to stop this happening?
Click to expand...
Click to collapse
setting-power untick fastboot
Yes I have also seen this a few times, especially if I had a lot of tabs open in the browser then go back to the home screen.
the only time i got this, was when i was disabling bloatware apps in settings
speaking of memory, I have total memory of 701160kb, with 34684kb free according to vellamo system info. is this correct? I thought we should have 1GB of ram??
The system always allocates a certain amount for normal operating
unclespoon said:
The system always allocates a certain amount for normal operating
Click to expand...
Click to collapse
exactly what i also thought, but presumed when it says total it included the system usage.
kuroneko007 said:
Stock, unrooted, still locked, as it came from the factory One S:
Do you ever find that when you close an app and go back to the launcher (Rosie), Rosie has been purged from memory and needs to reload? Takes about 10 seconds with the "loading" animation before you can do anything. Pretty poor really for a standard setup. Will be rooting at the weekend, but any other tips to stop this happening?
Click to expand...
Click to collapse
Without a proper analysis of what happened, It's quite difficult to say if this is a right behaviour of Android. Android handles the memory itself, because it is based on JAVA. When an application needs more memory, Android tries to allocate to it, sometimes this could mean taking away the memory of Rosie (homescreen) if it is needed.
This could happen regardless how many memory you have. In theory if you run a lot of apps at the same time without closing them, Android may do so. So no need to worry if this was what happened to you. However, if it happens a lot even if you don't have big apps running at background, it may indicate something is not quite right. I don't know what it would be cos this is IMO at the software level so should happen to everyone and be a potential bug.
Rooting the phone and removing bloatware may be benefitial cos you get rid of lots of annoying background tasks which take x amount of memory.
Im also having this problem.
I tryed close all apps, now its 618 used and 67 mb free.
In the list (under apps - running) only few apps are listed, and they make only total of ~95mb, where are other 500 used?
After reboot +- same apps showed, only using 100mb and toatly 350used 340free...
What kind of phones do you guys have? Branded and locked by operator?
Sent from my HTC One S using XDA

Frequent "xxxxxxxx Not Responding. Wait? Close?"

Tried a couple of different ROMS out there, and I'm still getting frequent pausing, temporary locking up on my Gtab when trying to open apps. Am I rushing the poor old guy!? Usually it starts responding again before I even hit "wait" but the frequent pop-up when it slows is really getting to me. Anyone experiencing anything similar? Any good fixes???
-d
What roms are you using? I had this issue with the last dirty bean but get it much less if at all with the 120dpi smoothbean. You can change the governor settins under settings/performance/processor as well as limit background processes to 2/1 that seems to help. I laso turn off sync on gmail which helps.
Sent from my SPH-L710 using xda app-developers app
revned911 said:
Tried a couple of different ROMS out there, and I'm still getting frequent pausing, temporary locking up on my Gtab when trying to open apps. Am I rushing the poor old guy!? Usually it starts responding again before I even hit "wait" but the frequent pop-up when it slows is really getting to me. Anyone experiencing anything similar? Any good fixes???
-d
Click to expand...
Click to collapse
1. Try Advanced Task Killer and hit the widget button to nuke the memory hogs. There is
a lot of people who dont recommend task killing as a solution, but it seems to get me past the
force closes.
2. Try an old froyo rom like Vegan or TNT Lite 4.4
--
Recently I was having similar problems with the gtablet slowing down a lot, so I started uninstalling some of my apps.
I had about 220 apps with Application Storage at 212MB free. I messed some uninstall and got into a boot loop.
At which point I did a factory reset. The factory reset ROM was a lot faster. So when I restored my apps and settings
froim Titanium backup, I restored about 120 of them with Application Free Storage at about 700 MB now.
All the slowness of apps and market have gone away.
So I would say if you see a lot of Force Closes or hangs especially during Market Update, considering cutting
down on the number of apps you have. The key metric to see if you are getting full is the
Settings->Storage->Tablet Storage->Application Storage (for Froyo ROMs)
--

Categories

Resources