Problem With RAM - Nexus S Q&A, Help & Troubleshooting

Hi,
After updating my Nexus S to 2.3.4, I face problem with my RAM, when I check the available RAM from "Setting => Applications => Running services" it shows 0 Free RAM. (Attachment "1.png").
But when I check the available RAM from other third party Apps it shows plenty free. (Attachment "2.png").
Also attached the file "meminfo" from "/proc". (Attachment "3.png").
Any Help Please.
Regards,

linux manages memory very well.
get rid of all the junk on your device. you dont need task killers/managers, battery utilities, security suites; all unnecessary...among many other programs. uninformed folk will tell you to install all this bloat for your safety, killing tasks, etc...last resort, hard reset to see if your mem problems persist on a clean/stock rom
good luck

Hi,
I don't have any task killer, or security suits, I even installed "AndMemory" to shoe may case only. Also no system utility at all, I have only "Locale" and "3g Watch dog", these the only two apps that I can consider a utility apps.
Thanks,
Sent from my Nexus S using XDA App

i also notice depending on what kernel you run the free ram differs greatly. stock seems to give me the most but compared to my evo it still seems low. id like to be above 200mb free.

Related

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) Droid Charge ram 328 or 512?

Sorry if this question has been answered somewhere, but I searched and couldn't find a reliable answer. When I go to task manager, it always shows memory usage out of 328mb available. Everything I read prior to purchase indicated there was 512mb ram. If I'm going to be locked in contract for any extended period of time I definitely need more than 328. 512 is already low by today's standard, but 328mb is ridiculously bad. Anyone that knows the answer and a way to verify would be greatly appreciated as all the searches I do come up with both answers.
Thanks for the help guys.
Sent from my SCH-I510 using Tapatalk
In addition to the above mentioned issue... I frequently have 250+ out of the available 328 used even when task manager indicates no apps running. Is there that much going on in the background? In case this helps I'm running the ED2 debloated rom so I can't imagine how bad it would be if I still had all the bloat in there.
Thanks again for the input
Sent from my SCH-I510 using Tapatalk
The phone has 512MB total, with some of that allocated to the system that can't be used by apps. This memory goes to thinks like the GPU to give you that stellar video performance. Sucks that it can't be changed really, but that is how it's setup. I believe that we can get a few MB back from the system, but you won't get all of it back.
imnuts said:
The phone has 512MB total, with some of that allocated to the system that can't be used by apps. This memory goes to thinks like the GPU to give you that stellar video performance. Sucks that it can't be changed really, but that is how it's setup. I believe that we can get a few MB back from the system, but you won't get all of it back.
Click to expand...
Click to collapse
Thanks a lot for the response. Makes me a lot more comfortable with holding on to this guy. There must be some serious bacground processes going. because I've yet to see anything lower than 180mb used (about 150 available) and that's with autokiller at extreme preset, which I normally wouldn't set so high...I just wanted to see if any additional mb's would free up.
Sent from my SCH-I510 using Tapatalk
Ok, android 101:
Android uses smart caching and background process management to keep your apps available and running smoothly. As such the more RAM you have free the more you are WASTING. This system is designed to run up to 99% RAM use before turning off any running apps/background processes.
Ever since android 2.2 it has been HIGHLY efficient at doing so. Using autokillers to keep RAM free is pointless, as most apps don't even use ANY CPU when in background, unless they perform background checks for things like is it your turn on words with friends, etc. Unless you have an app that uses too much background data like this (in which case I'd just get rid of the app...) then using killers is pointless, let the OS run the way it is designed to do. Ever since I listened to a ROM dev and stopped using task killers my battery life on my original droid has nearly tripled, and I'm overclocking it from 566 to 1200mhz!
Android is not windows 95, you don't need to hold its hand and make sure things are closed, doing so actually defeats the advanced features of the OS, decreases battery life in all but a very few cases, and increases your app startup times, keeps you from getting background updates properly, etc.
warriorprophet said:
Ok, android 101:
Android uses smart caching and background process management to keep your apps available and running smoothly. As such the more RAM you have free the more you are WASTING. This system is designed to run up to 99% RAM use before turning off any running apps/background processes.
Ever since android 2.2 it has been HIGHLY efficient at doing so. Using autokillers to keep RAM free is pointless, as most apps don't even use ANY CPU when in background, unless they perform background checks for things like is it your turn on words with friends, etc. Unless you have an app that uses too much background data like this (in which case I'd just get rid of the app...) then using killers is pointless, let the OS run the way it is designed to do. Ever since I listened to a ROM dev and stopped using task killers my battery life on my original droid has nearly tripled, and I'm overclocking it from 566 to 1200mhz!
Android is not windows 95, you don't need to hold its hand and make sure things are closed, doing so actually defeats the advanced features of the OS, decreases battery life in all but a very few cases, and increases your app startup times, keeps you from getting background updates properly, etc.
Click to expand...
Click to collapse
I was always of the impression that an app such as autokiller differed from a standard task killer in that it modified the values at which android natively kills off processes vs me going in and manually closing an app (which i never do). I too have read articles that task killers are pointless and do more harm than good, but I always thought autokiller was a different sort of "tweak" if you will. I've even seen several devs promote that they've modified androids native memory management to be more aggressive, etc...which is what I thought autokiller accomplished. Autokiller simply seemed necessary to me with the Charge because I was experiencing lag and lockups even with a debloated rom and voodoo kernel. Clearly there could be several culprits to this this and I was simply testing out different fixes and seeing what the results were. Thanks for the heads up though...learn something new every day.

Whats Best way to free up the ram???

Whats best way to free up the more ram? I have root and froze the safe stuff. The lowest I can get free is about 185MB / 328MB.
Rooting and freezing apps doesn't give you more RAM, since there is only 512MB of RAM and the OS takes part of that to run.
You can free up internal app storage space, by deleting bloatware, or cut/paste the bloatware into a folder on the SDcard (I call mine VZWBloat) and that will save you space.
You can run a task killer to kill off apps that you don't need but you have to be careful, Android does need certain apps to be available in the background and it will just reopen automatically and that will put them into a cycle and drain the battery.
rcb929 said:
Whats best way to free up the more ram? I have root and froze the safe stuff. The lowest I can get free is about 185MB / 328MB.
Click to expand...
Click to collapse
Please do not post Questions or problems in Android Development
Moving to General
RaptorMD said:
Rooting and freezing apps doesn't give you more RAM, since there is only 512MB of RAM and the OS takes part of that to run.
You can free up internal app storage space, by deleting bloatware, or cut/paste the bloatware into a folder on the SDcard (I call mine VZWBloat) and that will save you space.
You can run a task killer to kill off apps that you don't need but you have to be careful, Android does need certain apps to be available in the background and it will just reopen automatically and that will put them into a cycle and drain the battery.
Click to expand...
Click to collapse
Hey im using root explorer when im in system/app/ how do i single out the bloatware apps?
rcb929 said:
Whats best way to free up the more ram? I have root and froze the safe stuff. The lowest I can get free is about 185MB / 328MB.
Click to expand...
Click to collapse
Freeing up that much RAM is probably detrimental to the overall efficacy of the memory management system, I've never seen mine at 185MB, and if I did I'd worry something was wrong.
If you really want to free up more RAM, for no benefit whatsoever, use something like Advanced Task Killer and set it to allow killing of the lowest level processes it can, then kill everything. Bam, tons of free'd up RAM. Again, this has pretty much no benefit whatsoever and for a short time will probably make your phone more sluggish and slow.
In Android (Linux) free memory is considered wasted memory.
That said, I remember on my galaxy S that the phone ran snappier when I tweaked the memory management of the phone.
Task killers are generally considered a bad idea on android, so I would avoid using one of them to free up memory. However, there is a poorly named app called auto killer that is actually just an interface to tweaking androids built and memory management. I recommend giving it a try, here's a link: http://market.android.com/details?id=com.rs.autokiller
Note that it is not a task killer per se, it is just a tweak for android phone memory management schemes.
I haven't used it on my droid charge yet, but play with the settings maybe starting with aggressive. Good luck and let us know how it works for you.
Sent from Thunderbolt
I don't have my phone with me right now, but you need to make the folder read/write and then hit menu and multi-select or select multiple. This thread http://forum.xda-developers.com/showthread.php?t=1082588 shows what is ok to freeze, but I am not familiar enough with those to say you can remove all of them. Typically I would look for the Verizon specific apps, games like lets gold, guitar hero etc. If you remove anything related to touch wiz (widgets) you need to remove both of the associated files. I am pulling this from memory on my previous TB.
These are the ones I recognize, but the others in that long list I would like to see better clarification of what they are and how they are tied into the TouchWiz UI so we don't get errors. Please exercise caution when doing this.
• Bitbop 1.0
• Blockbuster 0.6
• City ID 1.1.4
• Lets Golf 2 3.2.2
• Rhapsody 1.0
• Rock Band 4.4.3
• Slacker 2.1.170
• TuneWiki 2.2
• VCAST Media Manager 4.2.96.3
• VVMService 1.0.30
• VZ Navigator 7.1.2.87
• WeatherBug Clock 11.04.07.01
rcb929 said:
Whats best way to free up the more ram? I have root and froze the safe stuff. The lowest I can get free is about 185MB / 328MB.
Click to expand...
Click to collapse
BY FAR.... BAR NONE.... The best way to free up memory and keep it free without messing with task killers is to use a program called startup auditor. This app prevents apps from starting up automatically on startup and throughtout the day without interfering with normal app processes. You can shut down or enable any app you want.
Even cooler, if you select the option menu and hit disable all, it only disables programs that won't interfere with the phone operation so it knows which apk's are critical for phone integrity. PRETTY COOL!!!
burningembers said:
Freeing up that much RAM is probably detrimental to the overall efficacy of the memory management system, I've never seen mine at 185MB, and if I did I'd worry something was wrong.
If you really want to free up more RAM, for no benefit whatsoever, use something like Advanced Task Killer and set it to allow killing of the lowest level processes it can, then kill everything. Bam, tons of free'd up RAM. Again, this has pretty much no benefit whatsoever and for a short time will probably make your phone more sluggish and slow.
Click to expand...
Click to collapse
NEVER USE ADVANCE TASK KILLER... See other post
http://forum.xda-developers.com/showthread.php?t=1106265
RaptorMD said:
Rooting and freezing apps doesn't give you more RAM, since there is only 512MB of RAM and the OS takes part of that to run.
You can free up internal app storage space, by deleting bloatware, or cut/paste the bloatware into a folder on the SDcard (I call mine VZWBloat) and that will save you space.
You can run a task killer to kill off apps that you don't need but you have to be careful, Android does need certain apps to be available in the background and it will just reopen automatically and that will put them into a cycle and drain the battery.
Click to expand...
Click to collapse
DON"T USE A TASK KILLER ON ANY SAMSUNG DEVICE. See other post
http://forum.xda-developers.com/showthread.php?t=1106265
I wasn't really condoning the use of task killers. I disagree with them 99% of the time (there are some edge cases). I just gave the OP an option if he really, really wanted to for no reason whatsoever.
@OP: I would recommend leaving the pasture gate open.
rcb929 said:
Whats best way to free up the more ram? I have root and froze the safe stuff. The lowest I can get free is about 185MB / 328MB.
Click to expand...
Click to collapse
There is an app called Greenify. Its available on Play store.
Just check it out.
It also helps to maintain the juice of the battery.. !!
To Free Ram
A more easy way to delete a minimum of 1gb of space which by doing so also frees up ram is to delete the dump state log cat. See every time your device has an error or force close issue, date is collected / written to the log file and this can take up ane enormous amount of space which when space is low also means your device user more ram. To do this go to your dial pad and type in *#9900#
This will automatically brings up options and then just choose to delete the dump state/log cat. Let it clear for a few minutes and that's it's. Try seeing how much space you have before and after and you'll realise this is a blessing.

[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.

[Q]ram problem

Hey guys, I have a problem with my RAM u see I only have about 140mb of RAM, which when I bought my phone they said that they was going to be 768mb of RAM. So the problem is that whenever I kill all app using advance task killer, there would only be maximum of 200mba of RAM.but now after flashing a ROM the maximum RAM is 140mb n after opening one or two apps my phone necessary really laggy as I would only have 60 MBA left.on top of that my internet takes up about 80 MBA. So I am angry about this. So is there anesthesia else to increase the ram?thx
Your phone is broken; You should sell it to me. I'm joking of course, I don't want your broken POS. Lol Im sorry, I mean nothing is wrong with your phone.
256 is dedicated to the gpu, then another 300 or so is dedicated to the OS, and Rosie UI. The rest of that is what you're seeing. Don't worry though, 140MB is plenty of memory. You need to uninstall your 3rd party task killer and just enjoy using the phone.
Paging Dr B said:
Your phone is broken; You should sell it to me. I'm joking of course, I don't want your broken POS. Lol Im sorry, I mean nothing is wrong with your phone.
256 is dedicated to the gpu, then another 300 or so is dedicated to the OS, and Rosie UI. The rest of that is what you're seeing. Don't worry though, 140MB is plenty of memory. You need to uninstall your 3rd party task killer and just enjoy using the phone.
Click to expand...
Click to collapse
Tnx for the reply but my phone lags, bro how
If you are flashing roms, then I assume you are rooted. Get Titanium Backup and freeze Sense. That will free up RAM and speed up your phone. I am using ADW EX on the stock ROM and I froze Sense (found two parts of it in Titanium). My phone is faster than hell...
Matt
Even with sense running your phone shouldn't lag unless one of your apps isn't working properly. The way android background processes work, if an active application needs more ram than is currently free, the android system will automatically kill inactive app(s) to free up memory. The problem is with poorly written apps that maintain active status when they are no longer active or have unnecessary services that relaunch themselves when they are killed. Your task killer cannot fix poor coding. It only provides a placebo effect. At best it is unnecessary, at worst it will exacerbate the issue.
Sent from my HTC Sensation 4G using XDA Premium App
moto211 said:
Even with sense running your phone shouldn't lag unless one of your apps isn't working properly. The way android background processes work, if an active application needs more ram than is currently free, the android system will automatically kill inactive app(s) to free up memory. The problem is with poorly written apps that maintain active status when they are no longer active or have unnecessary services that relaunch themselves when they are killed. Your task killer cannot fix poor coding. It only provides a placebo effect. At best it is unnecessary, at worst it will exacerbate the issue.
Sent from my HTC Sensation 4G using XDA Premium App
Click to expand...
Click to collapse
Yes, but android wont kill Sense. ;-) Trust me, freeze sense (dont remove it) and youll notice a difference.
Matt
mrg02d said:
Yes, but android wont kill Sense. ;-) Trust me, freeze sense (dont remove it) and youll notice a difference.
Matt
Click to expand...
Click to collapse
Guys I freeze sense but nothing happen I think it became even more laggy, how anything else to try
Have you considered flashin another rom, or reflashing the one you're using ? It might help.
It happened to me as well : phone was laggy and sloooow. I went into Recovery, wiped all data, applied the super wipe script (just to be sure) and flashed again my rom.
Been on it for two days, and phone is really fast and responsive.
jasdev said:
Tnx for the reply but my phone lags, bro how
Click to expand...
Click to collapse
What rom did you flash ?
Most rom devs seem to recommend giving your phone a day or 2 of normal usage to let the android os 'settle down'.
Mercvtio said:
Have you considered flashin another rom, or reflashing the one you're using ? It might help.
It happened to me as well : phone was laggy and sloooow. I went into Recovery, wiped all data, applied the super wipe script (just to be sure) and flashed again my rom.
Been on it for two days, and phone is really fast and responsive.
Click to expand...
Click to collapse
but f i use super wipe will all my data be gone?
jasdev said:
but f i use super wipe will all my data be gone?
Click to expand...
Click to collapse
use titanium to backup your apps... your phone contacts move to your sim cards...
MxFadzil92 said:
use titanium to backup your apps... your p
hone contacts move to your sim cards...
Click to expand...
Click to collapse
I am also staying in singapore, then my setings n messages?btw usually wat is Ur maximum allowed multitaking apps
Well yes, you will lose all your data. As mentioned higher, you can use Titanium Backup to save them.
As for your messages, you can use a small app, like SMS Backup and Restore (free on the Market) to save everyting on your SD Card, and restore them after you're done.
Reagrding the max multitasking apps, I admit I don't know how many of them can be kept running. I usually have 2 or 3 of them going at the same time, rarely more.
Mercvtio said:
Well yes, you will lose all your data. As mentioned higher, you can use Titanium Backup to save them.
As for your messages, you can use a small app, like SMS Backup and Restore (free on the Market) to save everyting on your SD Card, and restore them after you're done.
Reagrding the max multitasking apps, I admit I don't know how many of them can be kept running. I usually have 2 or 3 of them going at the same time, rarely more.
Click to expand...
Click to collapse
Thx bro, but because of all this it makes me regretfull getting this phone cause the RAM issue but other then that everything is good, I feel like getting galaxy s 2,haha
That's a pretty normal amount
Sent from my HTC Sensation 4G using XDA App
flipmatthew said:
That's a pretty normal amount
Sent from my HTC Sensation 4G using XDA App
Click to expand...
Click to collapse
Huh wat are u talking
jasdev said:
Huh wat are u talking
Click to expand...
Click to collapse
He's saying that your free ram amount is pretty normal. I want to know where you're getting the free ram amount from? If its from task manager (included or third party) its probably wrong. Go to settings>applications>running services and look at the bottom. I found that to be the most consistant regardless of device. BTW, I currently have 215mb free with ~20+ apps running and I never kill anything. In comparison, task manager shows 97mb free with only 4 running apps.
Sent from my HTC Sensation 4G using XDA Premium App
moto211 said:
He's saying that your free ram amount is pretty normal. I want to know where you're getting the free ram amount from? If its from task manager (included or third party) its probably wrong. Go to settings>applications>running services and look at the bottom. I found that to be the most consistant regardless of device. BTW, I currently have 215mb free with ~20+ apps running and I never kill anything. In comparison, task manager shows 97mb free with only 4 running apps.
Sent from my HTC Sensation 4G using XDA Premium App
Click to expand...
Click to collapse
Hey from the settings I have about 320mba free, but on my task manager it Shows 140mb, y? Another ques is why when I use internet n exit my phone becames very laggy n my task manager shows 80 MBA free, also y? It also becomes laggy after using market
jasdev said:
Hey from the settings I have about 320mba free, but on my task manager it Shows 140mb, y? Another ques is why when I use internet n exit my phone becames very laggy n my task manager shows 80 MBA free, also y? It also becomes laggy after using market
Click to expand...
Click to collapse
that's because task manager shows only completely unused ram. Running processes in the settings menu shows unused ram as well as cached processes. Cached processes are automatically ended when ram is needed so the android system includes that ram in the available ram count. Task manager does not do this. It will only show the unused ram. If you take your total ram (from running services menu in settings) and subtract the total amount of ram used by cached processes the numbers in task manger will march the new total. Example:
Running services shows 332MB (this is my actual numbers by the way) with 162MB used by cached processes. Task manager shows 170MB free. The numbers add up.
332MB - 162MB = 170MB
*edit
To see your cached processes go to:
menu> settings> applications> running services> menu> show cached processes
Behold_this said:
that's because task manager shows only completely unused ram. Running processes in the settings menu shows unused ram as well as cached processes. Cached processes are automatically ended when ram is needed so the android system includes that ram in the available ram count. Task manager does not do this. It will only show the unused ram. If you take your total ram (from running services menu in settings) and subtract the total amount of ram used by cached processes the numbers in task manger will march the new total. Example:
Running services shows 332MB (this is my actual numbers by the way) with 162MB used by cached processes. Task manager shows 170MB free. The numbers add up.
332MB - 162MB = 170MB
*edit
To see your cached processes go to:
menu> settings> applications> running services> menu> show cached processes
Click to expand...
Click to collapse
Thx bro but y foes my phone becomes laggy after using the internet, n also I only can run up to 4 app if I run some more it cancels the oldest app, y?

Categories

Resources