Hello all
i am kinda new to android
so i installed a task manager which shows me my current amount of RAM
and i found that only 50-70 MB of ram is available with me always
and also when ever i try to play NFS shift on mobile it gives error of less memory
so is there any fix available
also is it normal for everyone ???
aman11dhanpat said:
Hello all
i am kinda new to android
so i installed a task manager which shows me my current amount of RAM
and i found that only 50-70 MB of ram is available with me always
and also when ever i try to play NFS shift on mobile it gives error of less memory
so is there any fix available
also is it normal for everyone ???
Click to expand...
Click to collapse
It doesnt seem normal for me. Mine is usually in the range of 150 MB to 200 MB depending on the tasks in the background. I use my i9000 for development and dont play games too often (except on my smoke breaks.... )
There are no "fixes" per se. You might however consider using "ATK" (Advanced Task Killer) or "Task Panel X". According to my observation as you keep using the phone for a prolonged period, services and apps will keep getting consuming resources even if you apparently think you had closed them. Its really an honest mistake pressing the "home" key to "close" applications, but I do it all the time too....
You could use ATK to close apps other than those in the "ignore mode" (a feature of ATK) after a specified duration. Does wonders to my RAM
Cheers....
Thanks a lot dude for your reply
Sent from my GT-I9000 using Tapatalk
I have a Flash application that requires ~130Mb of RAM and I want to run it on my Galaxy S
I've installed Froyo JPK with latest flash 10.1, but just before the end of startup procedure I always get the "exclamation circle" icon which is apparently the "out-of-memory" message in flash.
I have tried to free up the memory with task killers and memory boster, but can't get it above 175 Mb, which is obviously still not enough, since probably browser and other applications/services use it back before the flash application starts completely. Or might be also some limitation my browser in Galaxy S ? -> see EDIT below
On HTC Desire this same application works like a charm.
So I wonder...
Is there any way to get more free memory ? [EDIT: Yes, with "Chuck Norris mode" app killers, but i does not always help and it's lame]
Is there any way to get more than 311-322Mb RAM used for Applications ? [EDIT: Yes, when developpers will found out the way how to get less memory used for video codecs or even found the misterious 32Mb which are yet nowhere to be found]
Can we expect to this memory issue to be solved in future Froyo releases ? [probably only Samsung knows that, but for now it seems very unlikely]
EDIT: Found out that I get out-of-memory with every single application when it reaches 128Mb of RAM usage.
This is again specific to SGS. Looks like this is some internal max memory allocation size per application/VM
So here is another question:
Is there any way to increase this limit (might be android internal or dalvik VM related)?
no
no
no
sorry to say that...
flypubec said:
I have a Flash application that requires ~130Mb of RAM and I want to run it on my Galaxy S
I've installed Froyo JPK with latest flash 10.1, but just before the end of startup procedure I always get the "exclamation circle" icon which is apparently the "out-of-memory" message in flash.
I have tried to free up the memory with task killers and memory boster, but can't get it above 175 Mb, which is obviously still not enough, since probably browser and other applications/services use it back before the flash application starts completely. Or might be also some limitation my browser in Galaxy S ?
On HTC Desire this same application works like a charm.
So I wonder...
Is there any way to get more free memory ?
Is there any way to get more than 309Mb RAM used for Applications ?
Can we expect to this memory issue to be solved in future Froyo releases ?
Click to expand...
Click to collapse
If you need that amount of memory you should use a computer.
Its not the phone thats the probem here. its what you try to run.
//Damian
I would personally put up money to get the RAM issue resolved.
People keep saying that 324~ MB is enough. That's not the point though. The point is that Samsung advertised 512MB. Any reasonable person would assume that, like other phones containing 512MB of RAM, that the phone would have 400+MB available for general usage. 324 MB for such a power phone is dismal. I consider Samsung's claim to be a form of false advertising. Yes, technically the phone has 512MB of RAM, but not according to the reasonable expectations of a consumer. Almost half of the stated RAM isn't usable to the end user for applications. This is a problem with the phone from the standpoint of delivering the expected value to the consumer.
Dear XDA Developer Legends,
Do you think it is possible that you will be able to free up ram that is allocated to the ram disk?
Yours,
Concerned Customers
Hm, maybe its applicable for a lawsuit?
andars05 said:
I would personally put up money to get the RAM issue resolved.
People keep saying that 324~ MB is enough. That's not the point though. The point is that Samsung advertised 512MB. Any reasonable person would assume that, like other phones containing 512MB of RAM, that the phone would have 400+MB available for general usage. 324 MB for such a power phone is dismal. I consider Samsung's claim to be a form of false advertising. Yes, technically the phone has 512MB of RAM, but not according to the reasonable expectations of a consumer. Almost half of the stated RAM isn't usable to the end user for applications. This is a problem with the phone from the standpoint of delivering the expected value to the consumer.
Click to expand...
Click to collapse
the phone has 512MB and you can use all. But the system use some of it.
Its only user that cant read and understand how it work hat keep asking about it.
And this phone has more ram that most have. So yes it is enough of ram.
'If you try to runt 50+ all time you will and up with low memory.
But its the same on a computer. none complain about that.
Only that you can only see 3.5GB on windows and use that on a 32.bit system. Well now you can see 4GB and all people are happy.. but they still cant use it, but its looks good.
That the same with this phone.
If samsung did show 512MB and did show how much that was free, all people that complain would be happy. but it dont change a bit what thay can use.
yaocheng said:
no
no
no
sorry to say that...
Click to expand...
Click to collapse
That make no sense
there is no reason to get less memory with the i9000 when comparable devices like the nexus one running the same OS version has 100mb+ more free ram
DamianGto said:
the phone has 512MB and you can use all. But the system use some of it.
Its only user that cant read and understand how it work hat keep asking about it.
And this phone has more ram that most have. So yes it is enough of ram.
'If you try to runt 50+ all time you will and up with low memory.
But its the same on a computer. none complain about that.
Only that you can only see 3.5GB on windows and use that on a 32.bit system. Well now you can see 4GB and all people are happy.. but they still cant use it, but its looks good.
That the same with this phone.
If samsung did show 512MB and did show how much that was free, all people that complain would be happy. but it dont change a bit what thay can use.
Click to expand...
Click to collapse
This misses the point of my original statement. The Nexus One is advertised (along with many other phones) as having 512MB of RAM. The N1 has 380-400+MB available of RAM available for applications, as do many other phones containing 512MB of RAM.
Yes, the system does reserve some for certain system functions. Even after those functions have been reserved on other 512MB models, the vast majority is still available to the end user. This is not the case on the Galaxy S series. This is evident by the original posters comment regarding his application.
To address your Windows example: Windows 32 bit actually states that only a portion of the 4GB is available for use. I don't see in the advertisements where Samsung states "Contains 512MB -- 324MB available for actual usage"
I think most consumers, like myself, would assume that the amount of RAM advertised is directly correlated to the amount usable for applications.
Otherwise, what's the difference between a phone advertised as having 384MB and the Galaxy S? They both could have the same amount of RAM available.
andars05 said:
Windows 32 bit actually states that only a portion of the 4GB is available for use.
Click to expand...
Click to collapse
But its not the case here.
+1 for the rest.
This is what i get if I run top command from adb from a freshly booted phone:
←[H←[JMem: 296300K used, 15048K free, 0K shrd, 6968K buff, 134720K cached
CPU: 1.3% usr 2.3% sys 0.0% nic 96.2% idle 0.0% io 0.0% irq 0.0% sirq
Load average: 0.99 1.33 0.59 1/351 3109
Wonder what this "cached" means.
Can somebody pls run this on HTC desire ?
I don't think our phone has 512mb of RAM physically available to the system. I think the phone has 512mb of RAM in total but it looks like 128mb of it is graphics RAM or something. Meaning we only have 384mb available to the system. The maximum amount of RAM I can ever get free is about 175mb so I don't think that it's reasonable that the system is using about 337mb of RAM. My desktop linux system uses less RAM than that on boot.
Isn't the memory allocation for graphics dynamic?
how often does the graphics really need all that ram?
any why aren't other devices affected by this? (doesn't the GPU on nexus or milestone for example need memory allocated?)
sionyboy said:
Do you think it is possible that you will be able to free up ram that is allocated to the ram disk?
Click to expand...
Click to collapse
Please explain. Which ram disk do you mean?
Also, since it runs on linux, cant we assign some space from the internal sd (or external) to make a virtual ram disk that would be used as ram when needed? some king a paging file that we know on windows...
And if this is possible, can we assign it to video so graphism will be a little slower but app will become faster?
I think there is something we can do if we can change assignation of ram, apps, and video to make this phone way much powerful.
(just an idea...)
franklin01 said:
Also, since it runs on linux, cant we assign some space from the internal sd (or external) to make a virtual ram disk that would be used as ram when needed? some king a paging file that we know on windows...
And if this is possible, can we assign it to video so graphism will be a little slower but app will become faster?
I think there is something we can do if we can change assignation of ram, apps, and video to make this phone way much powerful.
(just an idea...)
Click to expand...
Click to collapse
There's always Compcache..that worked like a charm on the G1 and Magic.
http://forum.xda-developers.com/showthread.php?t=724960
As you can see, all other Android phones reserve some memory to the system... It's just the way it is.
the sgs kernel creates amemory blackhole, that is, it starts using memory after a certain memory address.
It does that because many things in the hardware are using fixed memory addresses to allocate their own memory which is not managed by the kernel itself and the kernel will never touch or see it.
what you call "system memory" is usually memory used and seen by the kernel, for the OS's functionality: various applications, services, daemons, kernel daemons, kernel memory itself (its not much) and some time some ramdisks.
Every phone also uses that of course, which amounts for like 80-130megs. They also often use small black holes of like a couple of megs, but that's so little that no one will notice.
The sgs makes a big blackhole. To me it's more of a design fault, but not much you can do about it I guess. It would need someone who's going to read the complete hardware sheets to bypass that, if at all possible, lol. Or samsung.
I bet they fixed the design issue in the galaxy tab and either the chip has separate dedicated memory either there's no blackhole.
Another theory why the blackhole is necessary is that there's a bug in the chip and it's messing up a portion of the memory, so this portion is left unused (blackhole'd - never seen by the kernel) for stability reasons.
i hope this gives some insight.
reference from the previously linked post:
- Galaxy S [2.1] RAM = 512 MiB | Linux = 325 MiB | Reserved = 187 MiB (with I9000XWJM2 firmware)
notice the huge black hole here (187 megs)
I used to have more than 300mb free after reboot with nexus one...
DamianGto said:
the phone has 512MB and you can use all. But the system use some of it.
Its only user that cant read and understand how it work hat keep asking about it.
Click to expand...
Click to collapse
No, *we* can't use it all , because we != system. The debate is not whether or not there is 512MB of physical memory; there could be , since Samsung advertises as having 512MB, but its not all user accessible memory. We don't know for what the system is utilizing that memory, I don't think its for loading some of the core system components; otherwise we should be left with more free RAM like other devices with 512MB of RAM (i.e Nexus One). Its more likely that 188MB is used by either the GPU and other hardware or as a Ram disk.
In contrast, other phones having 512MB of RAM don't use user allocated memory for system or hardware use (at least not the same way Samsung does). They are somehow handling it differently, maybe their GPU's and Other hardware software counterparts have dedicated memory. Whatever said, at the end of the day in the user's point of view, Galaxy S DOES NOT have 512MB of RAM as what we were all led to believe . That is pure deception !!
If they knew this was the case then they should have alerted this to the users. For-example a spec sheet for Samsung Fascinates says 512MB Flash/384MB RAM they should have advertised Galaxy S like that instead of lying through their teeth.
Hello!
Welcome all galaxy s and android owners Im quite new to this hardware and software, in fact i spent all weekend trying to understand this machine...
Eventually, i fixed 3-combo bug, updated android from 2.1 to 2.2.1 JPU and applied speedMod from here:
http://forum.xda-developers.com/showthread.php?t=822756
And im wondering, do i really have so much ram? I have system info widget, it shows only about 150-190, on android 2.1 it was about 120-160, everything looks like my galaxy s has only 256 MB of memory (i just cant believe that) :O How can i check it more accurately?
Hey mate,
The reason why you can only see 339mb (or there abouts) of ram free is because the OS reserves some space for critical system apps.. Imagine if you couldn't receive calls because your live wallpaper and that game you are playing was using up all your ram.
Hope this answers your question,
Alex
Remember: If I have helped you please click on the "Thanks" button on my post
Sullson said:
Hello!
Welcome all galaxy s and android owners Im quite new to this hardware and software, in fact i spent all weekend trying to understand this machine...
Eventually, i fixed 3-combo bug, updated android from 2.1 to 2.2.1 JPU and applied speedMod from here:
http://forum.xda-developers.com/showthread.php?t=822756
And im wondering, do i really have so much ram? I have system info widget, it shows only about 150-190, on android 2.1 it was about 120-160, everything looks like my galaxy s has only 256 MB of memory (i just cant believe that) :O How can i check it more accurately?
Click to expand...
Click to collapse
By right our phone has 512MB.
However, some of the memory needs to be use for critical applications (e.g. running the phone etc.) therefore we are not able to unlock all 512mb for our use.
What you are able to see (since you're using SpeedMod kernel, it will be 339MB) is the memory available for OUR use. Do note that our phone needs to use part of that 339MB RAM to load up applications/boot up therefore you would not get 339MB free (rather about 120MB free ++ out of 339)
SXTN said:
Hey mate,
The reason why you can only see 339mb (or there abouts) of ram free is because the OS reserves some space for critical system apps.. Imagine if you couldn't receive calls because your live wallpaper and that game you are playing was using up all your ram.
Click to expand...
Click to collapse
Actually, that's a common assumption I hear which gets thrown around here but has never actually been proven. Apparently it's a memory hole, which means devices are using it. If it were reserved for apps, it would probably still show up in total RAM. Remember, Android is smart enough to kill apps as needed when more ram is required. Furthermore, freeing RAM doesn't take much work. So this explanation doesn't make much sense imho.
The reality might actually be that Samsung haven't had time to dynamically allocate the space with their drivers, so they took a shortcut until they had time to optimise.
Regardless of amounts I can say that 2.2.1 is the first firmware where memory management does not appear to be an issue.
Ok i found out that i actually have 339 Mb of memory. The problem is that all the time at least 130 mb are in use. I think that all the stand by android and samsung apps should work on the memory that stands in 512-339 and it shouldnt take my memory space. I saw 339 in task manager, also over there i see that samsung "steals" from it about 130. In addition it process running i see only about 30/40 memory in use. Android takes 16 mb. Any1 can explain this to me?
my phone showing only 304MO of RAM. Why?
Read what i did. U dont have speedmod. But what about my 130 lost memory...
Can anybody explain to me something about how the RAM works? So the phone has 512 mb of RAM, and only 330 available (I guess the OS takes the rest to 330). From those 330, around 100 are always used by something hidden. What is that?
Also if I stop some of the running services, sometimes that memory remains used.
What does eat my memory over time? I mean after some hours following a reboot my memory slowly starts to become used.
In the Running services tab there is a list of cached services and if I close any of them it eats more memory. How does that work?
I know, these questions are annoying.
128mb for tegra. that's why you have only 300mb+ for available memory
But why if I stop some processes such as the music player the RAM doesn't clear?
And why if I stop something from the Cached Processes tab it eats my RAM? (I can't find out what those cached processes are actually)
as far as i understand the system keeps it in memory in case you open something again and then it doesnt have to load everything over. and if there isnt enough for new apps it clears some ram.
this is not windows and the ram is supposed to be full. if im wrong about that someone correct me...
Sent from my Optimus 2X using XDA App
Yes you're right but the way Android kills processes when needed can be optimized, as sometimes the system is slow to free ram. In fact there are threshold values for different situations, that say to the system to free ram.
So the solution is not a standard task killer, but an optimization of values that triggers memory clean up. It's done for example by scripts like the one I use, see in my signature.
So here I am running Infinitum (AOKP) v2.1 with Devil2 0.72, 402 MB edition.
So this is the amount of free ram I have:
~20 MB. *click*
NO WAIT! its 150 MB! *click*
errr... no... its still just ~20 MB *click*
So why would android tell me I got 150 MB of free ram and 'free' command tells me something quiet different? I really don't get it, hope some1 can enlighten me :/
Thanks!
Many apps are cached/pre-buffered like in Windows, so in reality RAM is used more. This 150MB physically is not free, but it's available for apps that needs RAM - memory from this 150MB will be 'cleared' instantly.
So I am not running critically low on memory?
But I guess more ram would anyway benefit the overall performance since android could cache/pre-buffer even more, right?
You can check Memory usage with the SystemPanel app: it will list all active applications / system processes and services / cached applications , showes what amout of ram they're using and can kill the unnecesserary apps on the spot with it!