[Q] The MIUI app killer - mem leak? - T-Mobile LG G2x

I just noticed that if I repeatedly press to kill apps, it always frees some space - there is never 0bytes freed, even if I press it twice within the same second. I don't know much about android's architecture, but in software programs that indicates a memory leak somewhere. Is this the same?

im not an expert either but from what i've read, i believe its because when you kill apps with the app killer, some apps are restarted (such as necessary ones that the phone needs to run) and that causes some memory to be used again.
dont worry too much about killing apps in android, if apps aren't being used and are in the background, it is suspended and doesn't use the cpu. memory is cleared when needed automatically

Yea some apps just restart. Thats why if you close out all your apps and go back in a few seconds later, some are open again.
No big deal. I also use Go Launcher with its app killer tab in the program menu.

Alright, cool. Just wanted to know.

Related

Managing Memory

Hi all,
One habit I've developed with the Captivate is using Advanced Task Killer to kill apps that otherwise would just be hanging out in memory. I do this probably because I'm anal retentive like that, but also with the thought that it save me battery life if I do.
This has led to two questions of mine (excuse the noobiness to Android if these have been discussed):
1.) Why do so many applications start automatically when the phone boots up? (browser, gallery, etc etc). Is there a startup ini somewhere I can edit to prevent this or do all the apps just wake up? It's easy enough to kill, but I find some of the apps that start up very odd.
2.) Over the course of the day, even with Autokill on and security set to "Low", eventually my memory is consumed and it only gets back to its full state until the phone is rebooted. After all obvious apps have been killed the memory usage will will go from ~170mb (after a reboot) to as low as ~130mb (at the end of the day). Does anyone know why that happens and if there is a better way to manage memory/apps?
Thanks.
I used to use task killers, but I have uninstalled them and just let android do its thing. The only reason I'll end a program is if the program has an exit function or has froze, which is rare. With this method I don't have any slowdowns and great battery life. On the flipside I don't install poorly developed apps. Thats just me though.
Sent from my SAMSUNG-SGH-I897 using XDA App

Apps just wont die!

Its frustrating as well as annoying whenever i turn on task killer to see Skype, Picasa tool and Gmail running in the background. I have disabled autosync and i even kill the services to stop them, but they return from the grave after ~10 minutes or so....
Sent from my HTC Vision using XDA App
Thats part of android. It has applications in the background that were called on once, and it keeps them in the RAM. Once android recognizes that the process is no longer needed, it terminates it and frees up ram
ADR6300
Get Autostarts from the market. Similar to msconfig for Windows, it prevents apps from launching in the background and hogging memory & battery. It's only $1 and well worth it.
You can also "freeze" unused apps with Titanium Backup. Freezing an app hides it from android, effectively removing it. This is better than deleting the app, because if you freeze an app and your phone starts acting weird, just "unfreeze" that app and the phone will return to normal.
Sent from my ADR6400L using XDA App
Those apps are not running in the background, they're only cached in RAM. As long as you don't launch them they'll stay asleep. They don't eat your battery, and they don't take RAM away from running apps that need it.
If your phone runs out of memory those dormant apps will be kicked out of RAM.
In Android empty RAM is wasted RAM. Task killers are a real waste of RAM and battery.
i also seem to have fring always in the background, is there any way i can stop this?
Is there any tasks killer app that really kills some annoying apps running on my device? I'm using 2.3.3, and the battery is drying like crazy
task killers are bad for you phone. they're not necessary, and they kill battery life. just saying
NoctMonster said:
i also seem to have fring always in the background, is there any way i can stop this?
Click to expand...
Click to collapse
You can tell fring not to autostart. The option is somewhere in the settings menu.
Android will still cache it in memory, especially if you use fring often. But if it is only cached it doesn't go online and it doesn't eat any battery power.
Same thing for almost all other apps. Just because Android loads them into RAM doesn't mean they're running.

Open apps slowing it down

I was always of the impression that open apps on android don't use up power etc.So I have never had task killers on my phone or tablet but recently I have noticed after about half a day of the tablet being used on and off by me and the kids its slow down quite a lot but a reboot and its back to normal.so is it open apps causing this?
ASUS TRANSFORMER PRIMED
combat goofwing said:
I was always of the impression that open apps on android don't use up power etc.So I have never had task killers on my phone or tablet but recently I have noticed after about half a day of the tablet being used on and off by me and the kids its slow down quite a lot but a reboot and its back to normal.so is it open apps causing this?
ASUS TRANSFORMER PRIMED
Click to expand...
Click to collapse
yes and no. A process may be slowing it down, but it might not have to do with apps. One way to check what apps are running is by going into settings, press applications and press the tab that says "running" and see what is there. If there is a process that is burning too much memory or processing power, then kill it (don't kill too many processes though because some are important for running the underlying os). And, if the app keeps slowing you down, then concider uninstalling it.
Still getting this problem after a couple of. Hours use the tablet is slowing down
ASUS TRANSFORMER PRIMED
Use Advanced task killer from the market. I usually just press the recent apps button (right of the home button) and close unwanted apps ... not sure its thats a feature of Revolver rom or not though.
Android does use apps better than windows etc but if they have been ran they still resrve memory (not so much CPU) but sometims this can mount up enough to slow your device down.

[Q] Low Memory Warnings. Anyone Else?

Anyone here gotten low memory warnings? I've seen them pop up three times in as many days. I'm usually running a few active tasks with some push services in the background, but nothing that should be consuming massive amounts of RAM. Anytime this happens, by the time I get to the settings menu to check the running apps the used/free indicator is sitting at about the midway point. I'm thinking of using a desktop widget to give me quick access to the memory usage and task list but while I search for one that will actually be hepful I figured I should poke the community to see if anyone else has seen this.
Never seen such messages here.
To monitor free RAM and what's running use a simple app like Task Manager.
Do you kill most of the cached apps? If not, one of those may be keeping memory hogged. (top right when you're in Running Apps menu under settings). Don't kill all of them, but things like media, Google search and apps can be killed.
Does it mean the RAM memory or the internal SDmemory? I've never seen the warning, but it could be referring to too little free mamory space.
ShadowLea said:
Do you kill most of the cached apps? If not, one of those may be keeping memory hogged. (top right when you're in Running Apps menu under settings). Don't kill all of them, but things like media, Google search and apps can be killed.
Does it mean the RAM memory or the internal SDmemory? I've never seen the warning, but it could be referring to too little free mamory space.
Click to expand...
Click to collapse
It means RAM... have plenty of actual storage space. As for killing processs, I tend not to worry about that since Android is supposed to take care of them for me. Cached apps *should* be cleared when RAM gets low. I'm wondering if the low memory warning is being triggered before the system has time to reclaim resources. In other words, the threshold is reached, android starts to kill cached threads but it takes longer than it should so the warning pops up before the cleaning process completes. This would explain why the RAM shows around 50% usage right after I see the message. Well, if no one else is seeing anything like this it could just be some combination of processes I'm running that are holding on to things longer than they should.

H81010o issues

I ended up getting the latest ATT/LG software update, build LMY47D / H81010o. It actually let me choose when to install it so I'm happy about that, but I'm having a few problems. The screen seems to be working better now, taps, touches, swipes, and drags seem to be working correctly - but my phone is running really hot - even after a couple reboots. and for some reason all of my task killers no longer work. I use CCleaner and AVG to flush out ram because even though the G4 has 3gb, about 1.6gb is always in use with factory apps only. None of the task killers detect any running apps now, even the built-in LG task killer doesn't find anything running in the background.
Anyone else having issues with task killers? I've cleared the cache out of them, dumped the data, re-installed them, and they still don't work. I had a few other apps that quit working but once I dumped the cache they started to work again. Also, the phone seems to boot a little quicker and charge faster too, seems like mixed results with the latest upgrade.
Everything I've EVER read about task killers says that they don't really help because they are at odds with Android. And RAM is supposed to be used. Android will drop things out of RAM if it needs more.
The issues with memory leaking are inherent to Lollypop and are "supposedly" addressed in Marshmallow. We'll see.
But I had the same issues with my S6 and S6 Active.
Sent from my LG-H810 using XDA Free mobile app
Task killers shouldn't be used with anything later than Gingerbread. They simply serve no purpose. Android's stock RAM management keeps everything how it needs to be run, and shouldn't be messed with. For example, every time you go and use one of those task killers to flush out your RAM, Android is going to turn around and load those same apps right back into RAM because they're set with certain OOM values that tell Android when to kill them off or when to let them stay in memory.
So, in practice a task killer is probably robbing you of battery power.
The only thing I still don't like about LG's software is that they HAVE tweaked the stock RAM management system that Lollipop uses to favor keeping things in RAM for longer... and things on the G4 can get a little slow sometimes because of it. Just use the app switcher and swipe them away though, that way the app services can still run in the background like they're supposed to.
The G4 would be my ideal Android device if they would ship it with stock Android and just put their apps on top of that. RAM management doesn't need to be messed with, and UI elements don't need messed with (lollipop is quite elegant).
As for the "o" version, I was forced into it. It never asked. It installed itself while my phone was laying on the coffee table. Really pisses me off.

Categories

Resources