Why does Android have to kill processes? - General Questions and Answers

Hey,
I'm the owner of a Nexus 9 and while thinking once again about it's memory problems I started to wonder:
Why is it that Android has to kill apps when running out of memory, yet PCs can keep running all the apps they want even if their combined memory usage exceeds the PC's RAM?
I have never seen a PC kill a program because of low memory, they just become slower.
Thanks,
Niko

Niggo372 said:
Hey,
I'm the owner of a Nexus 9 and while thinking once again about it's memory problems I started to wonder:
Why is it that Android has to kill apps when running out of memory, yet PCs can keep running all the apps they want even if their combined memory usage exceeds the PC's RAM?
I have never seen a PC kill a program because of low memory, they just become slower.
Thanks,
Niko
Click to expand...
Click to collapse
Low Memory Killer (LMK) is a feature in Linux Kernel on Android that automatically clears memory when it reaches the limit that set before, caused the memory to be freed and to be able to use by other apps.
It's different from out of memory (OOM) killer, since it will kill all apps when the system is out of memory, thus can cause crashes here and there.
Sent from my ASUS_Z00AD

Related

Memory leaks?

My Cappy starts with about 165mb of free RAM, but it quickly goes away as I use apps. I have Task Killer installed and set to kill apps every 30 minutes, but once I get down to about 90mb of RAM it is impossible to get anywhere near what I boot with free. I'm used to memory leakage on my WinMo phones, but this is way worse. I had CleanRAM on my Tilt 2 (from XDA) and it worked pretty good and allows scheduling. Is there a similar app for Android?
I'd get rid of Task Killer, you don't need it.
its not leaking memory...it handles memory differently than windows of yore....stop fretting about how much memory you have available and just reboot your phone once every few days....thats not needed, but if it makes you feel better to look at useless numbers...
Yeah you need to stop looking at this as either a windows pc or an old device (think g1). Get rid of the task killer and never look at how much free ram you have again. Its not important at all. I've had this phone for months and I literally have no idea how much ram it uses on average because I have never checked or cared. My phone has been running smooth since day one. Yours will too.
Sent from my SAMSUNG-SGH-I897 using XDA App
Available RAM is a useless number? Having unused apps continue to run in the background is nothing to worry about?
Does anyone have anything usefull to respond with?
Miami_Son said:
Available RAM is a useless number? Having unused apps continue to run in the background is nothing to worry about?
Does anyone have anything usefull to respond with?
Click to expand...
Click to collapse
If you look at Window 7, there is a concept called pre-fetch. This allows the OS to load the programs into memory based on past usage, and frequency of usage. This lets us open the program much faster, than fetch when requested. This info is loaded to memory, and kept there, until some other program comes in that needs more memory.
And just 'cos a program is present in RAM doesn't mean it would use CPU.
And, based on my observation of android, I see that I have close to 180 MB free when the phone boots up. But this quickly reduces to around 120-150 in less than an hour based on what I use. After like a day this I see that free RAM is about 80-120 MB. And even after 3-4 days of no reboots, the free memory is still present at the same 80-120 levels. I am not sure what kind of memory management android uses, but its very effective, and never caused any noticeable lag in the system.
And, I do not use any task killers, not free up RAM in task manager.
Your concerns are flawed in the fact that the Linux kernel handles memory different than what you are used to. Simply speaking, Linux keeps memory used by applications on need to basis. It keeps it loaded until something else needs to use it. It will take from something else at the required time. A system actually performs faster when there is less memory available because that means that applications are able to be recalled quicker. It's not like it can only load from what is left available.
You will also notice that many applications take up memory but are using 0 CPU. This speaks to the fact that it simply loaded into memory and not taking up resources required for other operations.
Sent from my SAMSUNG-SGH-I897 using XDA App
Lot to learn about this Android, I see. So, why are there so many task killers on Market and other RAM-related programs if it is not important? Should I really not be concerned when I see a program I hardly use being shown as running on startup?
Miami_Son said:
Lot to learn about this Android, I see. So, why are there so many task killers on Market and other RAM-related programs if it is not important? Should I really not be concerned when I see a program I hardly use being shown as running on startup?
Click to expand...
Click to collapse
When I got my android phone, the first thing I did was put up things like task killer, start up auditor, etc. But as weeks passed, I realized these were more of deteriorating performance, than improve it. So got rid of them. Android can handle itself.
Autokiller optimises memory by changing values in android rather than kills apps. I reccomemd it, definately makes the phone faster. Set it to agressive.
Sent from my GT-I9000 using XDA App
Miami_Son said:
Lot to learn about this Android, I see. So, why are there so many task killers on Market and other RAM-related programs if it is not important? Should I really not be concerned when I see a program I hardly use being shown as running on startup?
Click to expand...
Click to collapse
It started with the combination of old versions of android (think cupcake and doughnut) and phones like the G1. Older versions didn't handle ram as well as they do in eclair and up. If you combine this with the fact that those older phones had less ram, and likely didn't use any gpu acceleration (unsure of this though), then task killers and other programs were considered necessary to get a fluid feeling experience.
They are still in the market now for 2 reasons.
1. Because some people still have those old phones and still run old versions of android. (less likely)
2. Habit. If people are used to using them and tell others they are necessary because they've always worked, why would a developer pull his money making app from the market? (much more likely)
So when Pandora or Grooveshark freeze, which happens all the time, and leaves my phone utterly useless until they're done doing whatever it is they're doing, how is using a task killer to...kill the process...not useful? It's much faster than rebooting the phone. I also think it's much faster than going into each application's individual settings to use the 'force stop' command. Is there a different way to kill a stuck app other than these methods?
Miami_Son said:
My Cappy starts with about 165mb of free RAM, but it quickly goes away as I use apps. I have Task Killer installed and set to kill apps every 30 minutes, but once I get down to about 90mb of RAM it is impossible to get anywhere near what I boot with free. I'm used to memory leakage on my WinMo phones, but this is way worse. I had CleanRAM on my Tilt 2 (from XDA) and it worked pretty good and allows scheduling. Is there a similar app for Android?
Click to expand...
Click to collapse
Along with what everyone else said, remember that a memory leak is a LEAK, something that is continuously draining, not a one-time thing. So, if memory goes to 80MB free and holds, that's not a leak, that's simply memory that is being used. If free memory drops to 75, then 60, then 55, 50, 45, and so on, then you have a true leak to worry about.
Well, what we Windows Mobile users often also refer to as leaks is the bad habit of some apps to not release their memory when closed. For instance, a program that carves out 25mb of RAM when started and returns less then half of that when closed.
jaju123 said:
Autokiller optimises memory by changing values in android rather than kills apps. I reccomemd it, definately makes the phone faster. Set it to agressive.
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Anyone else know much about "Autokiller"?
i used to use a task killer with my G1, and continued to do so with my captivate but i saw a few things like this: http://geekfor.me/faq/you-shouldnt-be-using-a-task-killer-with-android/ and decided to get rid of my task killers and my phone seemed actually a little faster and seemed my battery life increased.
matt310 said:
So when Pandora or Grooveshark freeze, which happens all the time, and leaves my phone utterly useless until they're done doing whatever it is they're doing, how is using a task killer to...kill the process...not useful? It's much faster than rebooting the phone. I also think it's much faster than going into each application's individual settings to use the 'force stop' command. Is there a different way to kill a stuck app other than these methods?
Click to expand...
Click to collapse
It is useful in those situations but realistically when people give that argument they are just looking for a reason to keep it. Android has the ability to kill tasks built in. If you're on 2.1 then yeah it's buried deeper in the menu but not a big deal. I can't imagine an app freezing enough to warrant having a task killer for. If you're on 2.2 it's much more easily accessible.
When we talk about task killers we're talking about people using them to kill open tasks that aren't causing issues simply to see more free ram available.

Question about RAM

I am running Froyo from Samsung web site.
Anyways, I know froyo was supposed to free up 512 ram. I know about 100 goes to gpu. However my phone is left with 339 ram to use (as seen in task manager). However it is always using at least 220mb, even when I close everything and restart the phone. When I open up advanced task killer it says 116m free. Why so little? How can I get more easily? without having to use ROMs or kernels?
Or is this how it is for everyone? I feel kind of cheated!
First of all, you should never need to use anything like Advanced Task Killer now that you have froyo. There are legitimate uses, but its really something you can go without. See http://www.reddit.com/r/Android/comments/cwovf/in_light_of_all_the_discussions_right_now_about/ for a good writeup.
Your phone, just like a computer, uses an optimal amount of RAM at all times. That does not mean minimal. Android phones dynamically allocate RAM for applications and the OS. Why have 200MB of RAM free when you can instead have 100MB free and have the phone be more responsive? 2.2+ manages memory more effectively, and if you are not using an application, will close it. Its fairly difficult with any normal usage scenario to cause your phone to run out of memory.
In short, you don't really need to worry about it because its that way on all Android devices (and generally any modern computing device), and that if is not affecting the usability then its not an issue
Completely agree With first comment. Everyone is concerned about keeping as much ram free as they can but it does not speed their phone up at all. Ram its just like quadrant scores a useless numbers if the phone is response and speedy in actual use
Sent from my SAMSUNG-SGH-I897 using XDA App
U could try reading this: Android Memory Management
your ram usage does seem a little high, you may have an app that is using a lot of it. the 339mb available is normal. some kernels will show quite a bit lower than that but the never seeing more than 116 free is odd. the rom im curently on fluctuates from about 140mb used to 240mb used. i only know that because i clear ram before running benchmarks, have you tried clearing ram in the built in taskmanager? or are you only going off the task killer? because the task killer doesnt necessarily clear ram.
all i know is task killers are pretty useless unless you have an app that freezes and for that the taskmanager built in to many of the samsung roms should be enough for that though it does not show every process that is in a saved state or system processes. task killer programs do more harm than good but i cant seem to get people off them. danm verizon store sets people up with them and poeple use them religiously. i figured out in the first few days of using android on my aria that getting better speed and battery life by killing tasts was a futile effort. there are few market apps that use resorces when running in the background and if you exit the app with the back button it doesnt save the state or run in the background. not that saved state is a problem. i only found that the phone uses more battery restarting processes that are designed to be running and has more lag than when you just use the phone and ignore the running processes.
Personally the only time you should be ever worried about ram is when watching a flash video or viewing a webpage with a lot of stuff. Other than that, as said, if the phone runs smooth, who cares about ram?

[Q] strange ram available

Hello everyone
i have noticed something strange about the RAM available, if I go into settings-applications-services running: ram, 211 MB used 80MB free.
If you instead use Android system info I see: 37 MB free RAM
Why this? I have 2.3.4 stock
sorry my bad engish
try terminating cached programs. also, remove unnecessary apps. dont use task killers/managers etc. they are unnecessary. linux is smarter than us. dont use security services unless you frequently visit suspect sites and dl apps w/out research. see which programs are consuming ram and search for solutions. last resort, hard reset. if it persists or low ram issues arise when stock, time for a new one. good luck.
The nexus S has 345MB for the OS and apps, rest is used by the hardware (mostly by the GPU), you will never have access to it.
Your situation is perfectly fine, the biggest memory hog is the browser. I recommend auto memory manager (free on market) and set the empty application line to 80mb.
The services are killed automaticly by android, no need for task managers, but the limit is set to 80mb instead of 24mb. You will still run into memory leaks eventually, but not really at 30mb left.
Thanks to all
I do not use task killer, using linux for 4 years , i try Auto Memory Manager. see if the situation improves.

Is the memory usage always so high?

Hey guys i have been enjoying my rooted sensation with ARHD 6.6.4 rom and its working perfect but i only have one issue.
Is the memory usage always so high?
I used this app called Memory Booster Lite and it shows used memory 75% and free only 23 or 25% always no matter how many apps or services i close.
Is this normal and is there any way to improve free ram memory?.
Thanks
Anything above 150 MB free memory is considered good in my books.
Most custom ROMs will get you between 200-250 MB free memory, which is normal.
You don't need to improve the amount of Free RAM you have at any given time. And your memory booster app is probably counter productive to achiving improved performance.
When you load an Android App, it will stay in RAM until something else needs that memory. It's not supposed to get dumped out of RAM just because you close the app.
If you have 100mb of RAM (using easy to work with numbers here) and an app takes 50 MB of RAM and anothe rapp takes 25MB of RAM, both apps will stay loaded in RAM so make them load quicker if you go to use them again. This saves load time and battery as the phone doesn't have to spend energy to transfer the app from storage back into RAM.
So in this scenario you'll have 25MB of RAM left.
Now say you want to load a 3rd app that takes 50MB of RAM. Obviously you don't have enough RAM to load it, so the system will now dump the other 50MB RAM user so it has room to load the new 50MB into RAM.
The system does it all for you natively so you don't need memory improvement apps. All they do it use up RAM permently (since they keep themselves in active memory and won't let themselves be killed) and use up extra battery power because they perform a task that will be performed again by the system later.
Android is very efficient at dumping apps form RAM when not in active use.
Over the course of a battery cycle you'll find that you use the same apps multiple times in a row. The phone app, text app, web browser app, etc are all things that you will use over and over and over. So rather than dumping these out of memory it keeps them so they load faster the next time. And it works VERY well. And it custom tailors itself to the user. If you never use the text app, but use Angry Birds all the time, Angry Birds will stick in RAM.
Sense is a RAM hog. If you want more RAM use AOSP. Having said that, free RAM is wasted RAM.
Sent from my HTC Desire S using xda premium
Skipjacks said:
You don't need to improve the amount of Free RAM you have at any given time. And your memory booster app is probably counter productive to achiving improved performance.
When you load an Android App, it will stay in RAM until something else needs that memory. It's not supposed to get dumped out of RAM just because you close the app.
If you have 100mb of RAM (using easy to work with numbers here) and an app takes 50 MB of RAM and anothe rapp takes 25MB of RAM, both apps will stay loaded in RAM so make them load quicker if you go to use them again. This saves load time and battery as the phone doesn't have to spend energy to transfer the app from storage back into RAM.
So in this scenario you'll have 25MB of RAM left.
Now say you want to load a 3rd app that takes 50MB of RAM. Obviously you don't have enough RAM to load it, so the system will now dump the other 50MB RAM user so it has room to load the new 50MB into RAM.
The system does it all for you natively so you don't need memory improvement apps. All they do it use up RAM permently (since they keep themselves in active memory and won't let themselves be killed) and use up extra battery power because they perform a task that will be performed again by the system later.
Android is very efficient at dumping apps form RAM when not in active use.
Over the course of a battery cycle you'll find that you use the same apps multiple times in a row. The phone app, text app, web browser app, etc are all things that you will use over and over and over. So rather than dumping these out of memory it keeps them so they load faster the next time. And it works VERY well. And it custom tailors itself to the user. If you never use the text app, but use Angry Birds all the time, Angry Birds will stick in RAM.
Click to expand...
Click to collapse
All of this. Every bit of it. I had to explain this to someone the other day who was hellbent on achieving MAXIMUM FREE RAM.
Skipjacks said:
You don't need to improve the amount of Free RAM you have at any given time. And your memory booster app is probably counter productive to achiving improved performance.
When you load an Android App, it will stay in RAM until something else needs that memory. It's not supposed to get dumped out of RAM just because you close the app.
If you have 100mb of RAM (using easy to work with numbers here) and an app takes 50 MB of RAM and anothe rapp takes 25MB of RAM, both apps will stay loaded in RAM so make them load quicker if you go to use them again. This saves load time and battery as the phone doesn't have to spend energy to transfer the app from storage back into RAM.
So in this scenario you'll have 25MB of RAM left.
Now say you want to load a 3rd app that takes 50MB of RAM. Obviously you don't have enough RAM to load it, so the system will now dump the other 50MB RAM user so it has room to load the new 50MB into RAM.
The system does it all for you natively so you don't need memory improvement apps. All they do it use up RAM permently (since they keep themselves in active memory and won't let themselves be killed) and use up extra battery power because they perform a task that will be performed again by the system later.
Android is very efficient at dumping apps form RAM when not in active use.
Over the course of a battery cycle you'll find that you use the same apps multiple times in a row. The phone app, text app, web browser app, etc are all things that you will use over and over and over. So rather than dumping these out of memory it keeps them so they load faster the next time. And it works VERY well. And it custom tailors itself to the user. If you never use the text app, but use Angry Birds all the time, Angry Birds will stick in RAM.
Click to expand...
Click to collapse
Wow thanks a lot for the explanation i really didnt know that.I got used to the pc ram optimizing hahahaha my bad.
so these apps android booster and memory booster shall i remove them all?
but apps running in background they dont drain ur battery?.
Like i am running music player and later i stopped it but its still there in process does it drain battery as long as its there in services?
High Always
Memory free has always been low to about 215 MB max. If you really want you can freeze sense and use a basic launcher from the play store to increase memory by about 50-70 MB.
Memory free is about 300 MB with Virtuous Inquesition 4.0.2 for me!
gamer1291 said:
Wow thanks a lot for the explanation i really didnt know that.I got used to the pc ram optimizing hahahaha my bad.
so these apps android booster and memory booster shall i remove them all?
but apps running in background they dont drain ur battery?.
Like i am running music player and later i stopped it but its still there in process does it drain battery as long as its there in services?
Click to expand...
Click to collapse
Yeah get rid of all that stuff.
And no, having an app loaded in RAM doesn't mean it's using processor power, which is what uses the battery. (Nor does it mean it's forcing the screen to stay on, which is your biggest battery drain)
Think of an app you just closed as a guy on a bus. He's just sitting there taking up a seat on the bus not bothering anyone. He doesn't weigh much compared to the bus itself so he's not decreasing the fuel efficiency of the bus. And when a little old lady needs to get on and have a seat, he'll gladly give up his seat for her and get off the bus....then patiently wait on the sidewalk for the next bus.
But as long as he's sitting on the bus quietly he's primed and ready to jump into the drivers seat if you need him to do so. Once he gets off the bus, it takes a second for him to reboard so he can drive.
well, all of this is so wrong... (this maybe true if gingerbread, but not ICS)
Read here:
http://developer.sonymobile.com/wp/2012/03/30/learn-about-the-technical-differences-between-gingerbread-and-ics/
http://source.android.com/compatibility/4.0/android-4.0-cdd.pdf
ICS is designed for 1GB RAM devices (eg: Galaxy Nexus),
and ICS need at least 340MB for linux user space + hardware functions (eg: camera, modem) + 64-128mb max for each running application
so ICS will need more ram than GB. that's why I think 100-150mb free ram isn't enough on Sensation-ICS, especially if you run heavy games that consume very big memory
Rotundjere said:
well, all of this is so wrong... (this maybe true if gingerbread, but not ICS)
Read here:
http://developer.sonymobile.com/wp/...ical-differences-between-gingerbread-and-ics/
http://source.android.com/compatibility/4.0/android-4.0-cdd.pdf
ICS is designed for 1GB RAM devices (eg: Galaxy Nexus),
and ICS need at least 340MB for linux user space + hardware functions (eg: camera, modem) + 64-128mb max for each running application
so ICS will need more ram than GB. that's why I think 100-150mb free ram isn't enough on Sensation-ICS, especially if you run heavy games that consume very big memory
Click to expand...
Click to collapse
Maybe you forgot nexus s or some phone with 512MB, i use it on ics and still smooth and no problem with gaming.
Google never explain how much ram requirements to run ics they just said about STORAGE minimum is 1GB.
One of the improvement of ics is on memory management, we can call it ram management.
In eclair you have to use ram management apps to kill your background tasks in order to run heavy apps smoothly, but in gb google made some improvement on ram management so we dont need an app anymore.
In ics google improve memory management again, thats why even you playing heavy games then minimize it and open browser or something else, you dont feel laggy browsing or because system will kill the game, and you have to start from scratch if you open the game again.
And 768MB is enough for me to run shadow gun, x-plane, gta 3.
Do some research before you say something mate.
And for free ram, i can get 300MB on MIUI sense based, but i dont even care, just leave it let system do the job.
C'mon, we dont need 300MB (except for show off ) what we need is smoothness and battery efficient.
Sent from my HTC Sensation XE with Beats Audio Z715e using Tapatalk 2
I thought that they did have rom management in older android versions. If all recent apps stayed open then it would crash the phone because it couldnt handle the load. And apps have different API levels which decided what apps were killed, depending on the kind of app(which you could change with an app). Ics and jb just have a better from management system. Correct me if I'm wrong
And could I hear more about the extra RAM?
Sent from my HTC Sensation 4G using xda premium
CerealFTW said:
I thought that they did have rom management in older android versions. If all recent apps stayed open then it would crash the phone because it couldnt handle the load. And apps have different API levels which decided what apps were killed, depending on the kind of app(which you could change with an app). Ics and jb just have a better from management system. Correct me if I'm wrong
And could I hear more about the extra RAM?
Sent from my HTC Sensation 4G using xda premium
Click to expand...
Click to collapse
Thats what i mean, in eclair phone become laggy when opened a lot of apps, but fixed on GB and more optimized on ICS.
Sent from my HTC Sensation XE with Beats Audio Z715e using Tapatalk 2
haha my bad. And is there really a 300mb ram hack in miui? This is the first I've heard of it
Sent from my HTC Sensation 4G using xda premium
In linux, the expression goes "free RAM is wasted RAM."
chrisund123 said:
In linux, the expression goes "free RAM is wasted RAM."
Click to expand...
Click to collapse
not true anymore, modern linux distro such as Fedora16 64-bit (kernel 3.x) only consume 320 MB of 8GB total RAM and 0 MB swap after start-up (no prefetch by default)
---------- Post added at 12:57 AM ---------- Previous post was at 12:51 AM ----------
aimcr7 said:
Maybe you forgot nexus s or some phone with 512MB, i use it on ics and still smooth and no problem with gaming.
Google never explain how much ram requirements to run ics they just said about STORAGE minimum is 1GB.
One of the improvement of ics is on memory management, we can call it ram management.
In eclair you have to use ram management apps to kill your background tasks in order to run heavy apps smoothly, but in gb google made some improvement on ram management so we dont need an app anymore.
In ics google improve memory management again, thats why even you playing heavy games then minimize it and open browser or something else, you dont feel laggy browsing or because system will kill the game, and you have to start from scratch if you open the game again.
And 768MB is enough for me to run shadow gun, x-plane, gta 3.
Do some research before you say something mate.
And for free ram, i can get 300MB on MIUI sense based, but i dont even care, just leave it let system do the job.
C'mon, we dont need 300MB (except for show off ) what we need is smoothness and battery efficient.
Sent from my HTC Sensation XE with Beats Audio Z715e using Tapatalk 2
Click to expand...
Click to collapse
yes of course you can run on sensation, but the system must kill other app running on background (just like my old moto milestone with 256mb ram kill app very frequently including homescreen launcher and it's very slow to start an app).
Read again the official Android 4.0 Compatibility Definition document:
http://source.android.com/compatibility/4.0/android-4.0-cdd.pdf
http://developer.sonymobile.com/wp/...ical-differences-between-gingerbread-and-ics/
Do some research before you say something mate.
sure, nexus s meet the android 4.0 ccd because it has more than 340 MB RAM, but it struggle just like 512 MB sony devices
128MB is a MUST for each app, but have to adjust more if needed. So next year or two, all phone manufactures will not ship devices with 512MB anymore coz it's too slow & will kill app on background frequently (just like my old milestone)
if you're not developer you won't encounter about memory hungry app, currently I make 3D games on android and <512MB devices (such as xperia mini ics) will automatically exit, because my game take to much ram and probably draw calls (but run very well on my pc), optimization is the only solution (reducing vertices/poly & texture size)
gamer1291 said:
Hey guys i have been enjoying my rooted sensation with ARHD 6.6.4 rom and its working perfect but i only have one issue.
Is the memory usage always so high?
I used this app called Memory Booster Lite and it shows used memory 75% and free only 23 or 25% always no matter how many apps or services i close.
Is this normal and is there any way to improve free ram memory?.
Thanks
Click to expand...
Click to collapse
haha.. you want more free memory? stop using a SenseUI rom...
trust me, youll get used to it. sense is nothing special after you get the full affect of an AOSP base
ALSO, just because memory is not free doesnt mean the memory isnt being allocated correctly. androids memory management is very intelligent. usually you dont need any task killers
chrisund123 said:
In linux, the expression goes "free RAM is wasted RAM."
Click to expand...
Click to collapse
Up to a point but beyond a certain threshold too little ram can cause lag, look in the v6 supercharger thread for more info on this
CerealFTW said:
haha my bad. And is there really a 300mb ram hack in miui? This is the first I've heard of it
Sent from my HTC Sensation 4G using xda premium
Click to expand...
Click to collapse
You can easily reach 280MB free on MIUI sometimes 300MB. But c'mon, do you really need it?
Rotundjere said:
not true anymore, modern linux distro such as Fedora16 64-bit (kernel 3.x) only consume 320 MB of 8GB total RAM and 0 MB swap after start-up (no prefetch by default)
---------- Post added at 12:57 AM ---------- Previous post was at 12:51 AM ----------
yes of course you can run on sensation, but the system must kill other app running on background (just like my old moto milestone with 256mb ram kill app very frequently including homescreen launcher and it's very slow to start an app).
Read again the official Android 4.0 Compatibility Definition document:
http://source.android.com/compatibility/4.0/android-4.0-cdd.pdf
http://developer.sonymobile.com/wp/...ical-differences-between-gingerbread-and-ics/
Do some research before you say something mate.
sure, nexus s meet the android 4.0 ccd because it has more than 340 MB RAM, but it struggle just like 512 MB sony devices
128MB is a MUST for each app, but have to adjust more if needed. So next year or two, all phone manufactures will not ship devices with 512MB anymore coz it's too slow & will kill app on background frequently (just like my old milestone)
if you're not developer you won't encounter about memory hungry app, currently I make 3D games on android and <512MB devices (such as xperia mini ics) will automatically exit, because my game take to much ram and probably draw calls (but run very well on my pc), optimization is the only solution (reducing vertices/poly & texture size)
Click to expand...
Click to collapse
Maybe 2 years later google will optimize more this beautiful os so it wont become recource hungry OS, do we really need smartphone with 4gb ram? So it will become so smooth.
Ive tried samsung GS advance and its smooth, maybe samsung do better job in term of software. but oh, i forgot GS advance still on GB
Sent from my HTC Sensation XE with Beats Audio Z715e using Tapatalk 2
And i do some research before wrote all this, i used to developed some rom for Neo.
And c'mon what SE said about ICS is ****, even their GB is laggy, too much issue, and when ics come, some people including me trying to make it smoother. But still there is an annoying issue with video recording.
Ive readed the link.
Sent from my HTC Sensation XE with Beats Audio Z715e using Tapatalk 2

How to limit RAM usage per application

Is there a way to set hard limits on how much RAM individual Android apps can use? Seems most apps are greedy, and I'm running out of RAM, which makes switching between the apps I am currently using slow.
I used Titanium Backup to freeze all apps I don't use frequently, and now my ram usage is down to about 50%, where it used to be around 90%.
I also use an app called Auto Memory Manager, which controls Android's own memory management. You can tell it to free memory sooner than later, for different types of memory categories. But what made the most difference was freezing apps with Titanium Backup.
I'd still like to know if there is a memory policing app, but the aforementioned are good solutions.

Categories

Resources