[TUT] - Explanation about the RAM on Defy with JB - How to improve it - Defy General

(Moderator, i posted this here because this it's a solution about the lack of RAM on Defy running CM10)
Hello people!
We are all excited about the Defy with CM10 Jelly Bean
But there is one thing that many users are complaining like a grumpy old man
It's about using too much RAM in Android 4.1.1 on Defy
Well, first I want to say one thing:
WAKE UP PEOPLE! IT'S ANDROID OS, NOT WINDOWS! :good:
And now comes the old explanation about RAM on Android:
- The Android OS is based on Linux, as everyone knows. The system features a smart task manager that handles all apps minimized to the re-start of apps more faster.
When the system needs more RAM to run any app, it kills unused apps to free up more RAM. And it will be that way forever, because that's how it works with the linux memory management.:angel:
End of this beautiful love story.
[Q] - So my friend Salo-S, why my Defy uses so much RAM in JB?
- I just finished explaining right now. But however, I have not seen any lack of free RAM on my Defy+, is always at 185 ~ 230 free (open with some apps, like Google Now or WALKMAN player of Xperia S).
[Q] - And then? what you have to do with that?
Simple. Check what apps are consuming as much memory as you describe.
Probably you installed an app that consumes a lot of RAM.
Solution: Full-Wipe IT. Reinstall the CM10 and now pay attention to their apps.
[Q] - Oh Salo-S, my phone keeps in low memory like 100 ~ 85 free.
Ok, then do yourself a LITE version of JB!:cyclops:
How? I explain.
My wife has a XPERIA X8 which has only 185 RAM running good the CM9.
Witchcraft? No, it's just removing unnecessary content as LiveWallpapers, Dev Apps, Google Apps and some many other apps that do not affect the functioning of the system.( Something like a LITE version of ICS )
185MB of RAM the phone has, ICS runs well with only 40 ~ 50 MB free.
I do not think this is useful in Defy with JB, but try!
This is the solution if your Defy loves sushi of RAM memory.
The Android system has a great management of RAM, I think all this unnecessary.
It is the explanation and tips for users with RAM problems, I think this will help ..
Right now friends, we can stop asking about the SWAP on Defy (we have locked bootloader) and stop talking about low RAM. This all explained now.
Thanks to Quarx and Epsylon3 to make JB possible and good on our Defy's!

Thanks ,
nice explanation !!
but still this thread is more worthy of general section

Shubhamqweasd said:
Thanks ,
nice explanation !!
but still this thread is more worthy of general section
Click to expand...
Click to collapse
thought so....

It might sound rude to fans of Task-Killer apps and V6 Supercharger (it works, but not for everyone),
but Salo-S is right. Even with task killing, it only temporarily frees up the RAM, but if you have a lot
of apps installed, the RAM will fill up again in a few minutes.
So the best way to free up ram on a low-RAM device like Defy and Defy+, is to limit the number of
memory-hungry apps in your phone.

droid_<3er said:
It might sound rude to fans of Task-Killer apps and V6 Supercharger (it works, but not for everyone),
but Salo-S is right. Even with task killing, it only temporarily frees up the RAM, but if you have a lot
of apps installed, the RAM will fill up again in a few minutes.
So the best way to free up ram on a low-RAM device like Defy and Defy+, is to limit the number of
memory-hungry apps in your phone.
Click to expand...
Click to collapse
you can install as many apps as you want, you just need to avoid that they start automatically. i use this app and it really helps to control when which app starts.
hope this will help you guys

@salo-s
basically you were right. but have you ever read some posts in quarx' cm10 thread?? it is a fact that our defy runs very slow with cm10 and 50-70 MB free RAM (or less). This happens when you flash full gapps and some favorite apps. if you flash minimal gapps (and also some favorite apps) free RAM is about 120-150 MB and the rom is very smooth and responsible.
some useres think it's a cache problem. more free ram = more cache = smoother system.

Salo-S said:
(Moderator, i posted this here because this it's a solution about the lack of RAM on Defy running CM10)
Click to expand...
Click to collapse
That doesn't matter.
It's a guide, you're not developing anything, therefore it doesn't go in the Dev section.

Salo-S said:
(Moderator, i posted this here because this it's a solution about the lack of RAM on Defy running CM10)
Hello people!
We are all excited about the Defy with CM10 Jelly Bean
But there is one thing that many users are complaining like a grumpy old man
It's about using too much RAM in Android 4.1.1 on Defy
Well, first I want to say one thing:
WAKE UP PEOPLE! IT'S ANDROID OS, NOT WINDOWS! :good:
And now comes the old explanation about RAM on Android:
- The Android OS is based on Linux, as everyone knows. The system features a smart task manager that handles all apps minimized to the re-start of apps more faster.
When the system needs more RAM to run any app, it kills unused apps to free up more RAM. And it will be that way forever, because that's how it works with the linux memory management.:angel:
End of this beautiful love story.
[Q] - So my friend Salo-S, why my Defy uses so much RAM in JB?
- I just finished explaining right now. But however, I have not seen any lack of free RAM on my Defy+, is always at 185 ~ 230 free (open with some apps, like Google Now or WALKMAN player of Xperia S).
[Q] - And then? what you have to do with that?
Simple. Check what apps are consuming as much memory as you describe.
Probably you installed an app that consumes a lot of RAM.
Solution: Full-Wipe IT. Reinstall the CM10 and now pay attention to their apps.
[Q] - Oh Salo-S, my phone keeps in low memory like 100 ~ 85 free.
Ok, then do yourself a LITE version of JB!:cyclops:
How? I explain.
My wife has a XPERIA X8 which has only 185 RAM running good the CM9.
Witchcraft? No, it's just removing unnecessary content as LiveWallpapers, Dev Apps, Google Apps and some many other apps that do not affect the functioning of the system.( Something like a LITE version of ICS )
185MB of RAM the phone has, ICS runs well with only 40 ~ 50 MB free.
I do not think this is useful in Defy with JB, but try!
This is the solution if your Defy loves sushi of RAM memory.
The Android system has a great management of RAM, I think all this unnecessary.
It is the explanation and tips for users with RAM problems, I think this will help ..
Right now friends, we can stop asking about the SWAP on Defy (we have locked bootloader) and stop talking about low RAM. This all explained now.
Thanks to Quarx and Epsylon3 to make JB possible and good on our Defy's!
Click to expand...
Click to collapse
Very good explanation on the way Android Memory Management works.
To extend on it, people you can use AutoKiller Memory Optimizer app from Play Store. Using this App you can increase the Minimum amount of RAM to be free. Basically, this app is not a task killer but is just an extension of the natural Memory Management system in Android as it helps you customize the Amount of minimum RAM to be free and change the value of RAM to be consumed by the Non-Active Apps etc.
I have been using it for months now (on Stock Froyo, CM7, CM9) and it has been working it's magic ever since.

Related

Google Android & Memory Management

Hello Android Gurus
I have bought Galaxy S (My first Android phone) 2 weeks ago and i have been experimenting with it since. I have noticed one thing regarding how android manages memory and its quite alarming.
When i start my phone I typically have around 160 Mb of RAM. As i load an application that requires 10 MB for example, the available RAM evidently drops to 150 MB but when I kill the application the RAM goes up but not to the previous level (e.g. goes up to 157).
little RAM is always lost as applications are opened and closed. This means that after a couple of hours of using the phone, the RAM goes down to 40 MB and the phone becomes REALLY laggy and you have to restart
The above behavior is typical of windows mobile, and that is exactly why i shifted to Android thinking it is better.
My questions to the android experts out there are the following:
1- Why is memory leaking like this. Such a behavior results in a phone with very bad user experience
2- Is this typical behavior of Android, if yes then i'd better sell my Galaxy S and look for an alternative OS
3- Is this due to TouchWiz by Samsung, if yes then i will wait for subsequent updates to see if this problem could be resolved by Samsung
4- Will the 2.2 Froyo update resolve this issue ?
I used to have an iphone 3gs before this one, and no matter how much you open or close applications, the UI is always smooth and responsive. The thing that made me really hate Apple and its products is their "Closed OS" that does not enable you to do much with your phone. That is why i moved to Galaxy S thinking it would give me a better experience
Thanks for your thoughts.
FREE RAM IS A WASTED RAM, golden rule of android.
Some time ago I did even a video so you can check what i'm talking about... http://www.youtube.com/watch?v=Ewxuy12KuUA
Dexter666 said:
FREE RAM IS A WASTED RAM, golden rule of android.
Some time ago I did even a video so you can check what i'm talking about...
Click to expand...
Click to collapse
That's an awesome video! I never knew the games looked so nice. I'm on a download spree because of that video now
Strange
Dexter666 said:
FREE RAM IS A WASTED RAM, golden rule of android.
Some time ago I did even a video so you can check what i'm talking about... http://www.youtube.com/watch?v=Ewxuy12KuUA
Click to expand...
Click to collapse
This is quite strange, the less RAM you have the more non-responsive the phone is and laggy.
Enough RAM has to be maintained to guarantee a smooth user experience.
If the phone requires 100Mb of RAM to run smoothly, then this much has to be maintained.
from my experience with the Galaxy S, there has to be atleaset 80 to 100 MB to maintain a somewhat smmoth interface.
Edit:
I also understand from your input that this is a Samsung problem, not an android problem, and that no matter how low the RAM is, the interface will always be smooth ??????
Mate, just one word - google.
There are about a billion articles online on android memory management, how to impoove it etc.
Dexter666 said:
FREE RAM IS A WASTED RAM, golden rule of android.
Some time ago I did even a video so you can check what i'm talking about... http://www.youtube.com/watch?v=Ewxuy12KuUA
Click to expand...
Click to collapse
i dont understand how this shows anything? You are manually exiting each one of the games, forcing it to quit anyways. A better test is just to hit the home button, and continually load up the next game.
andy2na said:
i dont understand how this shows anything? You are manually exiting each one of the games, forcing it to quit anyways. A better test is just to hit the home button, and continually load up the next game.
Click to expand...
Click to collapse
This means that after a couple of hours of using the phone, the RAM goes down to 40 MB
Click to expand...
Click to collapse
+red baloon on vid which says phone was used for >day, so "free" ram was <50MB, becouse browser etc. reserve some MBs for quick comming back.
And still was no problem to run anything I choose.
Dont quite understand..care to explain more? I'm getting puzzled abt this shortage of ram thingy. Some suggest to use task killer to free up rams while you say dont. But looking at your videos its fast..please explain. Thanks
Sent from my GT-I9000
Android handles the memory management itself. The moment it runs below certain amount of free memory it will start the kill apps. There is no need to run an app killer. Altho the default settings are not enough to provide a smooth experience. Check out the freememmanager app in the market to change the settings. As long as min 45 mb is free everything will run smooth.
Sent from my GT-I9000 using XDA App
RADLOUNI said:
2- Is this typical behavior of Android, if yes then i'd better sell my Galaxy S and look for an alternative OS.
Click to expand...
Click to collapse
This is typical Android behavior. See ya later.
Really though, if you're killing tasks, then you're already taking horrible advice from people who haven't an inkling of an idea on how Android manages memory.
Keep in mind that your phone is only using 256MB of its total 512MB of memory. Once a newer kernel is released with himem the phone will use all 512MB.
Android's garbage collection can be set to be more aggressive which would sort of fix your issue by killing more background applications. However, you might as well wait for the newer kernel which will fix your problem anyway.
Though it was more 320 out of 512
Sent from my GT-I9000 using XDA App
RADLOUNI said:
The above behavior is typical of windows mobile, and that is exactly why i shifted to Android thinking it is better.
My questions to the android experts out there are the following:
1- Why is memory leaking like this. Such a behavior results in a phone with very bad user experience
2- Is this typical behavior of Android, if yes then i'd better sell my Galaxy S and look for an alternative OS
3- Is this due to TouchWiz by Samsung, if yes then i will wait for subsequent updates to see if this problem could be resolved by Samsung
4- Will the 2.2 Froyo update resolve this issue ?
Thanks for your thoughts.
Click to expand...
Click to collapse
This has to do a lot with Android's garbage collector. The reason task-killers are not the best way to go, is because when you kill tasks a lot of the memory is not recovered (garbage collector does not work as it should). Android by default won't start killing apps until you get between 20-30MB of memory. For some reason, in the SGS, as you said, when ram drops below 70MB, the phone starts to feel pretty laggy; the best way to remedy this is to use applications like autokiller or minfreemanager, which require you to be rooted.
For a more in-depth explanation of how android kills processes see this http://andrs.w3pla.net/autokiller/details (from the developer of Autokiller).
I would like to know why the phone feels so laggy when ram drops below 70MB, from what I understand, this shouldn't be the case...
2- Is this typical behavior of Android, if yes then i'd better sell my Galaxy S and look for an alternative OS
--> No, this is not typical behavior of Android, i use my HTC Magic before Galaxy S, no lagging problem even the memory is lower than 15MB.
The galaxy S defaults are too low for when it starts removing apps from RAM, you need to root it and then install minfree manager or autokiller (which is not a task killer don't be deceived by the name)
Brantyr said:
The galaxy S defaults are too low for when it starts removing apps from RAM, you need to root it and then install minfree manager or autokiller (which is not a task killer don't be deceived by the name)
Click to expand...
Click to collapse
doesn't solve the mystery because this is a non-issue on other android phones.
why do i need to keep 50-70mb free to get a smooth running phone where others can handle 30mb free without problems.
Goshh..thanks for simplified. Now ive removed the task killer..and stand firm by the android golden rules...cheers..
Sent from my GT-I9000
I noticed this same low ram behavior on my galaxy s. After boot the phone shows like 180 mb of ram free after a couple days the phone will drop down to 30 mb of ram all the while I'm killing apps running in the background with task killer.
The phone slows down significantly even after I kill everything.i thought android was supposed to circumvent these kind of low ram Issues.
inurb said:
I noticed this same low ram behavior on my galaxy s. After boot the phone shows like 180 mb of ram free after a couple days the phone will drop down to 30 mb of ram all the while I'm killing apps running in the background with task killer.
The phone slows down significantly even after I kill everything.i thought android was supposed to circumvent these kind of low ram Issues.
Click to expand...
Click to collapse
It is.
And you're supposed to not be messing with how Android manages things cuz taskkilling screws it up.
reuthermonkey said:
It is.
And you're supposed to not be messing with how Android manages things cuz taskkilling screws it up.
Click to expand...
Click to collapse
So you suggest that I not force close any apps using taskkiller and just let android 2.1 do it's thing with memory management?
When I had the phone for the first week without taskkiller installed, the device ran very slow after the first couple days of use. Your saying that the slowness will go away as android dishes out memory effectively?
I'll uninstall taskkiller and let the device run longer than a week and see if it ever speeds up. thanks

[Q] Save RAM

Hey Guys,
is there a way to save RAM ?
I'm using this Rom & I have only 79Mb free of RAM.
I tried zeppelinrox V6 SuperCharger
But it doesn't work.
so does anybody know an other way ?
Hmm and a question,is tehre a way to disable Sense 3.0 Task-manager ? cause maybe V6 SuperCharger doesn't work,cause of task-manager(maybe he kills it)
JuLiian
no need to think about the ram handling. when its going to be full (mean few MB), android will free some ram
One thing you should know about Android is that it takes care of itself when it comes to freeing RAM and all that. Using task killers and RAM optimizers can do more harm than be helpful. I wouldn't worry about not having much RAM available since Android frees RAM for you when it gets a little low. Maybe check for apps running in the background.
Two excellent guides which support meaples opinion:
http://geekfor.me/faq/you-shouldnt-be-using-a-task-killer-with-android/
http://lifehacker.com/5650894/andro...ed-what-they-do-and-why-you-shouldnt-use-them
Meaple said:
One thing you should know about Android is that it takes care of itself when it comes to freeing RAM and all that. Using task killers and RAM optimizers can do more harm than be helpful. I wouldn't worry about not having much RAM available since Android frees RAM for you when it gets a little low. Maybe check for apps running in the background.
Click to expand...
Click to collapse
Thanks for your awnser.
I never looked about Ram,but with this rom i have only 70MB free and sometimes the rom feels very slow. And a friend of mine had the same problem and he used this script and it works very well for him,so I thought I could trie this ,too

The stock ram management and how to change minfree

Hi there. I have read a lot about android ram management, and that free ram is wasted ram. And I agree with that. My question is - why is my stock ics arc killing apps to constantly keep at least 140MB of ram free? The result is that multitasking is pretty much nonexistent on this device.
A follow up question is, how to change this behaviour and stay on stock rom? Minfree apps from play store don't do a thing.
Thanks!
matus201 said:
Hi there. I have read a lot about android ram management, and that free ram is wasted ram. And I agree with that. My question is - why is my stock ics arc killing apps to constantly keep at least 140MB of ram free? The result is that multitasking is pretty much nonexistent on this device.
A follow up question is, how to change this behaviour and stay on stock rom? Minfree apps from play store don't do a thing.
Thanks!
Click to expand...
Click to collapse
Have you tried running the V6 Supercharger script? I've heard it works on all ROMs.
Sent from my Arc S with JJ's ROM installed + stock kernel.

[Q] [Q} Acro S low RAM problem

Hi there,
I have a question to Xperia Acro S users: How much total RAM can you see and how much free RAM on your phones?
I have my acro s since few days and I'm a little bit disappointed. In normal use I find it a bit laggy and slow. I tried it on 6.1.A.2.45, 6.1.A.2.55 and XTXperience_9. All the roms the same problem. I installed "Android System Info" and it showed total RAM 634Mb and free RAM 196Mb.
Both my previous xperia p and my tablet ainol novo 7 flame are showing total RAM 809 Mb and more free RAM. Each of devices has 1GB RAM according to official specs.
Why there is such a difference? Anybody knows? Is there any solution?
I installed additionally "Quick system info PRO" but the same results.
Answered many times before and saying this again
From the Total 1GB RAM, around 200 MB is being used the by Adreno GPU. Some are kept reserved for the OS and rest amount of RAM we get for the apps and general use.
I am using Firmware 0.50 and honestly i don't feel that much of lag actually. If you are on Stock ROM then try this two apps from Google Play.
RAM Manager Pro and Pimp My ROM. These are really great tweaking software.
And it's not about how much free RAM you have, it's about whether the RAM optimization in your device is good or not.I have only 130 MB free RAM but my device runs quite good.
People are far too ram obsessed. U could have 80mb free and you'd never notice unless you looked. My advice. Just stop looking and use your phone
Sent from my Android 4.2.1 Xperia S
Try disable some apps...Just go to Settings > Apps > All
Disable the apps that you think you dont use...
List of apps that ive disabled :
- Ant Radio Service
- Email
- Event Stream Engine
- Exchange Service
- FBiX CalendarSync
- FBiX Music Likes
- FM Radio
- Friends Music
- Gmail
- Google Bookmark Sync
- Google Calendar Sync
- Google Contacts Sync
- Google Lyrics Extension
- Google Search
- Google+
- Maps
- NeoReader
- News & Weather
- Picasa Extension
- Street View
- Talk
- Talkback
- Timescape
- TV Launcher
- Twitter
- Twitter Extension
- Voice Search
- Weather Widgets
- Youtube Karaoke Extension
Click to expand...
Click to collapse
Depends on the apps that you use/dont use...Which apps that is out of your concern, just disable it but dont disable system related apps
auni said:
Answered many times before and saying this again
From the Total 1GB RAM, around 200 MB is being used the by Adreno GPU. Some are kept reserved for the OS and rest amount of RAM we get for the apps and general use.
I am using Firmware 0.50 and honestly i don't feel that much of lag actually. If you are on Stock ROM then try this two apps from Google Play.
RAM Manager Pro and Pimp My ROM. These are really great tweaking software.
And it's not about how much free RAM you have, it's about whether the RAM optimization in your device is good or not.I have only 130 MB free RAM but my device runs quite good.
Click to expand...
Click to collapse
Thank you for your reply, specially because you've written about it before. I've searched xda for this topic, but didn't find answer.
I know some of RAM is used by GPU, and some reserved for system, but I wrote the question because my xperia P and ainol (both 1GB RAM) are showing 809 total and over 400 free RAM. I wouldn't care about it, I wouldn't even have checked it if I wouldn't feel my acro s very laggy comparing to my mentioned devices. Both are worse in specs than acro s.
I'm running 0.55 stock ROM right now, I'll try the apps you suggested. I bought my phone a week ago, and hoped to be more satisfied than with xperia p (no micro sd, no watherproof, smaller screen, and so on). Now I think xperia p works better for a daily use ;/
wajahebat said:
Try disable some apps...Just go to Settings > Apps > All
Disable the apps that you think you dont use...
List of apps that ive disabled :
Depends on the apps that you use/dont use...Which apps that is out of your concern, just disable it but dont disable system related apps
Click to expand...
Click to collapse
Thanks for the list. It's a good idea to disable some of not used apps.
I still can send back my phone to shop (according to polish law when I buy via internet I can return it within 10 days), but I want to convince myself, I don't have to
rintelen said:
Thank you for your reply, specially because you've written about it before. I've searched xda for this topic, but didn't find answer.
I know some of RAM is used by GPU, and some reserved for system, but I wrote the question because my xperia P and ainol (both 1GB RAM) are showing 809 total and over 400 free RAM. I wouldn't care about it, I wouldn't even have checked it if I wouldn't feel my acro s very laggy comparing to my mentioned devices. Both are worse in specs than acro s.
I'm running 0.55 stock ROM right now, I'll try the apps you suggested. I bought my phone a week ago, and hoped to be more satisfied than with xperia p (no micro sd, no watherproof, smaller screen, and so on). Now I think xperia p works better for a daily use ;/
Click to expand...
Click to collapse
No problem. Sometimes some apps like Facebook or Google play consume high amount of memory like 80-90 MB while opened for long time. So try force close these once u have done using those apps. If the RAM properly distributed then even if you have 70-80 MB free memory in total it shouldn't be lag at all.
And you can find a detail info about Pimp My ROM here-
http://forum.xda-developers.com/showthread.php?t=2113295

[Q] Out of RAM

Hi,
working daily with linux-OS and beeing actively using custom roms since Android 2.1 I have a bit of knowledge on RAM usage on Linux and Android. As many know and like to post "free RAM is wasted RAM" - we all know that. But why? Because all not actively used RAM (lets call it "free") can be used as a cache for applications you likely will need in future. But what if your GNEX runs out of free RAM an is not able to cache any more? What if you start a new huge application like your browser and free RAM has to be obtained to give it to your starting application? Yes - bad things can happen!
But lets start from the beginning:
1. If you go to Settings->Applications->Running you get the RAM-bar at the bottom of the screen. This is splitted in two parts: used and free (like defined above). Used RAM seems to be actively allocated RAM which cannot be used for other things like starting applications and free is the RAM which can be obtained because it only containes caches apps which are not running.
2. Directly above that bar you se a kind of brace which seems not to be just eye-candy but has some meaning: The lower and thiner part of that brace seems to show the part of that RAM (used or free) that is used by the applications/service in the list above. Example: if you switch to cached applications the brace will jump to that part of the bar and by killing some of the cached apps you will change the width of the brace.
Lets put things together:
viewing the used RAM you will notice that the brace does not cover the whole used-ram-bar but, in my case, about the half. I also noticed that the width of the brace does not change greatly with uptime of the device as all listed services will stay at their size more or less so their sum is not going to change greatly. In my case all services sum up to about 250MB meaning the braces width is about 1/3 of the screen assuming that GNEX has 700MB total RAM (the rest of 1GB total physical RAM is allocated to other parts of the SOC-chip like Baseband and GPU and not available to linux-kernel or android).
But one thing does change greatly!!! The part of the used-ram-bar which is not covered by the brace will be very small after rebooting and will grow with uptime. As the part covered by the brace is a fixed factor this means that the free ram is the trade-off for the growing uncovered part of the used-ram. In my case I get after rebooting the device: 250MB free, 450MB used of which 250 are covered by the brace, leaving 200MB used RAM for whatever (kernel, non-android stuff like filesystem caches, ideas?) After some days of usage this changes to 50MB free, 650MB used of which still about 250MB are covered by the brace, leaving 400MB used for other things (NOT app-cache).
Consequences:
From the assumptions above this means that android is not able to cache apps anymore (because they live in the free RAM) and my device beginns to lag while opening new apps. To obtain enough RAM for starting apps like browers (stock or firefox tested) it will even need to kill services!!! And in extreme low-memory situations it even kills the foreground app you are using (to me it happened while I used firefox). Also when you go to settings->applications->running again you will notice that android will be restarting your services over and over again to obtain more RAM without much success. In the situations my actively used firefox got killed something different happened: the launcher also had been killed because it was starting over but more importently settings->applications->running showed that much of the used RAM not covered by the brace was gone! Free RAM jumped from 50MB to about 200MB which is nearly what I get after a fresh reboot. I assume that in this extreme low memory situation also the kernel did clean up things.
From my observations you will get the following if your free RAM accoring to settings->applications->running is very low:
1. no cached apps if you swich to settings->applications->running->cached
2. laggy phone
3. your launcher gets killed more oftern when returning from e.g. browser
4. more apps get killed when returning to launcher meaning that they will get restarted if you return to that app
5. in low memory situations (app does not fit into free-RAM-part) services will get restarted frequently
6. in extreme low-memory situations kernel cleans up everything (i guess)
The question now is: what is using so much RAM and growing over uptime until our GNEX has no more free RAM? I alread checked different ROMs including stock 4.1.2, stock 4.2.2 slimbean 4.2.2 cm10-stable cm10.1-nightly and all of them show this behavior. The only thing I noticed: all 4.1 ROMS perform better in this area: their RAM does not fill up that quickly but it does. On 4.2 ROMs it takes just few days to run out of free RAM for me. I already wiped my device and installed only realy needed apps (20 out of 140!!!) but it still happens.
I think this happen in any OS
A daily reboot is always a must in my opinion, to free ram, to stop some services, to stop wake locks, to stop battery drain without sense..
Inviato dal mio Galaxy Nexus con Tapatalk 2
That's what always makes me ask : Is Gnex really have 1gb of memory?
Other phones with same spec. uses same OS have more than 693mb that in gnex , why the hell our phone has the lowest read ram in 1GB category phones
I'm sure this is the only weak-point in gnex
300MB is GPU reserved for camera.
madd0g said:
300MB is GPU reserved for camera.
Click to expand...
Click to collapse
Why?
Sent from my Galaxy Nexus using Tapatalk 2
I didn't engineer the device. But I presume it's a requirement by the GPU PowerVR chip, since it uses alot of RAM on the Nexus S, which had the same chip only downclocked. It was 330MB usable out of 512MB advertised there. The amount reserved is bigger on GN obviously because of HD video capture option.
madd0g said:
I didn't engineer the device. But I presume it's a requirement by the GPU PowerVR chip, since it uses alot of RAM on the Nexus S, which had the same chip only downclocked. It was 330MB usable out of 512MB advertised there. The amount reserved is bigger on GN obviously because of HD video capture option.
Click to expand...
Click to collapse
I agree GPU shared system RAM, but 300MB is wayy too much bro. I checked my N4 it has 1.82GB of 2GB total considering N4 Adreno and camera chip is more powerful than i9250
It's (again probably) not because of the speed/power etc. but that it's like that by design. Adreno ain't the same as the one used on GN, so there's no comparison.
I'm sure Google didn't allocate that much memory just to screw us up, but instead there's a legit need for it. For instance, the amount of RAM available on a Galaxy S2 is much bigger, around 830-850MB out of 1 GB and it has a completely different camera/GPU combo, spite full HD video and 8 mpix instead of GNs 5. That's why I presume it's just PowerVRs "fault".
Perhaps, i just checked galaxy tab 2 ics available ram, it less than 700, but after flashed stock JB, it shows more RAM, about 770MB. Tab 2 uses OMAP and PowerVR right? Imho. i just curious why it reserves so much ram. Searched google and can't found the reason :S
Sent from my Galaxy Nexus using Tapatalk 2
*Update*
An galaxy S2 with all stock (Android 4.1.2) shows the same amount of used RAM after 10 days of uptime (380MB free and 380MB used - a nearly perfect 50/50 ratio). No sign of degradation so far. Honestly this phone is not used much but still it feels very different from what I see on my Gnex.
Has someone shorlty fully wiped and reflashed his phone to stock 4.2.2 (JDQ39). How does the RAM usage look like after fresh reboot?
RAM problem
This is what i get today. Using liquidsmooth 2.4 fraco kernel. But i know its not abut apps i use. I dont know where are all that RAM. After reboot with same apps runing in background i have 230-260MB free RAM. But if i using phone day or so it look like this.
Phone get laggy, slow with high latency. Im not sure if its 4.2.2 bug for Gnex or just some mess with ROM but its same on any custom ROM. ill try flash stock and see what i get.
castaway1 said:
This is what i get today. Using liquidsmooth 2.4 fraco kernel. But i know its not abut apps i use. I dont know where are all that RAM. After reboot with same apps runing in background i have 230-260MB free RAM. But if i using phone day or so it look like this.
Phone get laggy, slow with high latency. Im not sure if its 4.2.2 bug for Gnex or just some mess with ROM but its same on any custom ROM. ill try flash stock and see what i get.
Click to expand...
Click to collapse
I'm experiencing the same problem with AXI0M and AK kernel.
castaway1 said:
This is what i get today. Using liquidsmooth 2.4 fraco kernel...
Click to expand...
Click to collapse
Hi, this is exaclty what i was talking about... very frequent service restarts and laggy phone and even basic things like keyboard and music-playback can quit while in use. While I tried to compose an email to send a screenshot to my desktop to post it here my stock-mail-app died and the phone rebooted. At least I have now both an after reboot and an after two days of using PARANOID ROM screenshot
I recently switches to PARANOID 3.55 and now have even more issues as the phone boots with just 200MB free RAM. This ROM seems to demand very much RAM.
BTW. I installed Stock for more than a week before switching to PARANOID and had around 260MB free after booting and around 150MB free after some days of usage. Increase was ways lower than on any custom rom. Can anyone comment on this? Same or contrary stock-experience?
Stock JDQ39 rooted. (running one week)
kernel stock or lean both are perfect and have no affect RAM or smoothness. Screenshot is after some days of full usage. Battery life i getting is about 1day with 2h screen on.
now someone tell me that its not custom ROM problem. 4.2.2 stock is just awesome. Im sad that custom ROMs not..
castaway1 said:
Stock JDQ39 rooted. (running one week)
kernel stock or lean both are perfect and have no affect RAM or smoothness. Screenshot is after some days of full usage. Battery life i getting is about 1day with 2h screen on.
now someone tell me that its not custom ROM problem. 4.2.2 stock is just awesome. Im sad that custom ROMs not..
Click to expand...
Click to collapse
2h screen time is really bad..
But nice to know that stock works well for you..
Mach3.2 said:
2h screen time is really bad..
But nice to know that stock works well for you..
Click to expand...
Click to collapse
its average +/- 30min and for me its not so bad for 24h
castaway1 said:
its average +/- 30min and for me its not so bad for 24h
Click to expand...
Click to collapse
As long as it makes your boat float, why not?
Beamed from my Grouper
castaway1 said:
Stock JDQ39 rooted. (running one week)...
Click to expand...
Click to collapse
Next step would be to deodex this ROM and to try again because Stock is odexed in contrast to any custom rom. I realy would like to figure out the reason for this bad RAM usage on custom roms.
fajabird said:
Next step would be to deodex this ROM and to try again because Stock is odexed in contrast to any custom rom. I realy would like to figure out the reason for this bad RAM usage on custom roms.
Click to expand...
Click to collapse
yes im on odexed rom. and im curious if deodexing some custom ROM will help with this. I think about slighty modified vanilla rascarlo ROM with kernel that work perfect lean 6.4 is smooth like stock and dont broke anything. Its deodexed rom so i can propably try THIS to odex it.
http://fitsnugly.euroskank.com/?rom=rasbeanjelly&device=maguro-vanilla
castaway1 said:
... im curious if deodexing some custom ROM will help with this...
Click to expand...
Click to collapse
I thing you ment odexing some custom ROM, right? I'm thinking about to try the odex-me apk you can find on XDA which will odex all apks from /system/app but leave the framework.jar stuff untouched. But its far more easy to deodex the stock ROM and to try again

Categories

Resources