[Q] 2.2.1 and RAM - Galaxy S I9000 Q&A, Help & Troubleshooting

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

Related

Froyo FRF85B issues

So I just installed Froyo FRF85B and well, I have a couple issues. First off, the boot up now seems to take almost 10 minutes, second off, I went into Froyo with 50 megs free, and I came out with 50 megs free as well.
My understanding is Froyo should have freed up more memory for me. Anyone have any ideas?
Who told you Froyo would free up space? It might clear out your cache, but that's about it.
ATnTdude said:
Who told you Froyo would free up space? It might clear out your cache, but that's about it.
Click to expand...
Click to collapse
Eclair didn't have access to the full 512 ram. The people who had installed prerelease Froyo reported more available internal ram. I also have more available running memory as well. Went from 30 megs to 250 megs of available application memory. Which is kind of useless if I can't install that much in programs.
naturefreak85 said:
So I just installed Froyo FRF85B and well, I have a couple issues. First off, the boot up now seems to take almost 10 minutes, second off, I went into Froyo with 50 megs free, and I came out with 50 megs free as well.
My understanding is Froyo should have freed up more memory for me. Anyone have any ideas?
Click to expand...
Click to collapse
1st boot always takes a while
flybyme said:
1st boot always takes a while
Click to expand...
Click to collapse
Any viewpoint on the free memory? And it was the 2nd and 3rd boots that seemed to take forever.
naturefreak85 said:
Eclair didn't have access to the full 512 ram. The people who had installed prerelease Froyo reported more available internal ram. I also have more available running memory as well. Went from 30 megs to 250 megs of available application memory. Which is kind of useless if I can't install that much in programs.
Click to expand...
Click to collapse
get your terms right else you will confuse people. memory can be rom or ram
rom hasnt been changed. available ram has been increased. your rom is whats used for installing applications. ram has no effect on available storage
Problems!
I just got the T-mobile update to FRF85B but I am still having problems playing WAV files from an exchange account. Can someone please test theirs and see if they are able to listen to WAV files? I get the message:
"Sorry, the player does not support this type of audio file."
Btw, it worked fine on Android 2.1.
Also, whenever I get notifications, the pulse notification light is only flashing a white LED and not repeatedly.
astroblack said:
Also, whenever I get notifications, the pulse notification light is only flashing a white LED and not repeatedly.
Click to expand...
Click to collapse
this is controlled by applications. froyo brings colored trackballs, but only if apps support it
I had trouble with swype saying that it's not compatible with my device. But got it to work after I re installed swype and rebooted.
flybyme said:
get your terms right else you will confuse people. memory can be rom or ram
rom hasnt been changed. available ram has been increased. your rom is whats used for installing applications. ram has no effect on available storage
Click to expand...
Click to collapse
Really? ROM is where I install my applications? Are you sure? I install my applications in READ ONLY Memory? That would be wrong. The ROM is where the actual firmware is stored, not where applications are stored.
That's because it's EEPROM, that is, Electronically Erasable and Programmable Read Only Memory.
Just because it can be flashed with new data doesn't make it Random Access though.
ChronoReverse said:
That's because it's EEPROM, that is, Electronically Erasable and Programmable Read Only Memory.
Just because it can be flashed with new data doesn't make it Random Access though.
Click to expand...
Click to collapse
Right and that is used for the actual OS not for the application storage. When people put say Cyanogen on their devices it is using the ROM (as far as my understanding) the RAM is used for the application storage and the memory for running applications. My issue was resolved when I wiped out my device, gave me access to 180 MB and still left nearly 250 of memory for running applications.
From what I can tell the RAM is split between the program storage and the running application memory.
ok buddy. you know what your talking about....
naturefreak85 said:
Right and that is used for the actual OS not for the application storage. When people put say Cyanogen on their devices it is using the ROM (as far as my understanding) the RAM is used for the application storage and the memory for running applications. My issue was resolved when I wiped out my device, gave me access to 180 MB and still left nearly 250 of memory for running applications.
From what I can tell the RAM is split between the program storage and the running application memory.
Click to expand...
Click to collapse
The RAM is the memory programs run in. RAM is volatile and will lose its contents when power is cut. You certainly don't lose your programs if you pull out your battery.
I shouldn't have said EEPROM actually. The Application Storage is actually flash-type memory, the same kind used in SD cards for instance.
So there are three basic parts: ROM, 512MB internal flash (+ external flash) and 512MB RAM. HOWEVER, it's possible part of the flash is used as the ROM.
ChronoReverse said:
The RAM is the memory programs run in. RAM is volatile and will lose its contents when power is cut. You certainly don't lose your programs if you pull out your battery.
I shouldn't have said EEPROM actually. The Application Storage is actually flash-type memory, the same kind used in SD cards for instance.
So there are three basic parts: ROM, 512MB internal flash (+ external flash) and 512MB RAM. HOWEVER, it's possible part of the flash is used as the ROM.
Click to expand...
Click to collapse
flash memory is still a type of EEPROM lol
@OP read these articles
http://en.wikipedia.org/wiki/ROM_image
http://en.wikipedia.org/wiki/Random_access_memory
http://en.wikipedia.org/wiki/Volatile_memory
http://en.wikipedia.org/wiki/Non-volatile_memory
naturefreak85 said:
Really? ROM is where I install my applications? Are you sure? I install my applications in READ ONLY Memory? That would be wrong. The ROM is where the actual firmware is stored, not where applications are stored.
Click to expand...
Click to collapse
yes he is exactly right. the nexus has 512 mb of RAM and 512 mb of ROM. the 512 of ROM is where the OS, your installed apps, and user data all gets installed. the 512 mb of RAM is active memory that runs the apps. you cannot install apps to the RAM, it is volatile as said above. you sure can install apps to the 512 mb ROM though, and that is exactly the way the nexus works. any app you have installed to your phone goes on the 512 mb of ROM. the OS takes up some of that, so when you check in your settings, you only see like 180mb left or so on a fresh factory install with no apps yet installed. as you install apps, that amount goes down as you use it up.
flybyme said:
flash memory
Click to expand...
Click to collapse
Yes but it works differently from traditional (or rather, the original) EEPROM so I wanted to distinguish it.
In short
RAM = the place where all processes running. OS will load the apps/programs to RAM before it can processed by CPU, and at this stage it called processes.
From 512MB RAM, typical N1's Froyo's stock kernel can access up to 394MB of RAM. Here is the dmesg ouput f
Code:
<6>[ 0.000000] Memory: 128MB 91MB 175MB = 394MB total
<5>[ 0.000000] Memory: 394360KB available (3936K code, 971K data, 120K init,
272384K highmem)
How many processes can be run at the same time are limited to the RAM availability.
ROM = the place where the apps/progs being stored. Same thing as we stored/installed programs/apps in hard disk drive.
in N1, "ROM" is just a flash memory, similar to usb thumb drive. The contents always available even if you powered your device down. Yeah, apps also can be stored into microSD card.
How many apps you can install are limited to how may free spaces left in your storage, ie, "ROM" and SD card.
Thank you.
I have frf85b for att version (using for vodcom in Tanzania) but my tether doesn't work. I can see the network and connect but no internet. I think its DNS problem because my computer can ping the internet but nothing past that.
Sent from my Nexus One using XDA App
michaelbart0n said:
I have frf85b for att version (using for vodcom in Tanzania) but my tether doesn't work. I can see the network and connect but no internet. I think its DNS problem because my computer can ping the internet but nothing past that.
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
Mine was doing the same thing at first. Then I opened the browser on my phone to check that the 3G connection was working, and suddenly the computer had access too. It might have just been a coincidence...

[Q] Full RAM after using a some apps... with a little analysis

After fixing some lags with I/O system by using filesystem LagFix I still have a Lag problem in my system and I think it's not related to Samsung.
I think this could be an Android problem.
After a fresh reboot I get 124MB of free RAM.
BUT... every day I need to reboot the phone because after 3 hours it became laggy.
Now I analysed this and read a bit about the memory management on several forums and was able to reproduce the lag 2minutes after reboot.
I just need to use much applications one after another to raise the RAM usage for every application.
When the free RAM reaches 40MB I think the system clears some pieces for using it for the app I now want to use and there is the LAG.
Is there any fix for Android not caching every activity of an application in the RAM?
Now for me Android feels like: Usage -> Full RAM -> Lag
Sorry for the new thread but after 2 hours of research I didn't find anything useful over search function.
Yea, every program should have as much ram available as their size. 2gig for program storage on sgs, so there should be the same amount of ram ;D Anyway, theres still less memory for programs on the sgs than for example in the N1. I'd say there is about 384MB of ram total on the sgs and not the 512 claimed.
Sent from my GT-I9000 using XDA App
Not just the RAM for the apps... there's much more...all mails from internet, all google talk conversations, the wather I checked out from internet with any widget, feels like every interaction is cached into the RAM until it reaches the 40mb mark and after that every interaction on my system is laggy... for example: opening the notification bar needs 2-3 seconds.
I already talked to N1 users with the same problem
DasLeo said:
I already talked to N1 users with the same problem
Click to expand...
Click to collapse
Heading out the door in a minute so can't comment on the rest, but I strongly disagree with that part of your statement.
As an N1 owner I've NEVER seen lag like I suffer on the SGS. Never seen the absolute FREEZE in the GUI like the SGS gets.
I'm running FroYo on the N1 now, so can't compare side-by-side to the SGS things like memory usage, but I don't think that's the issue here if you're going to use the N1 as a comparison, despite other users complaining of lag.
You might try Autokiller or the free memory manager app from the Market and see if that improves thing, they'll keep more or less memory free depending on settings. You could test how soon lag comes with default, minimal, and aggressive settings.
I never testet Froyo because everyone said, it's unstable but for me it seems like froyo has other RAM management than Eclair when you said you can't reproduce this problem.
I'm already using a task killer... I have my main apps ignored or excluded and most time there are 2 or 3 apps which will be killed after lock or time or what else.
What's the problem here... if I would use a PC with 512MB RAM and use only 10 small applications, it won't cache everything in the ram until it's full.
Hi, didn't read all the posts, but u should look into the RFS file system, which is samsung proprietery file system. It has a very bad implementation on android (i could be wrong). As for ram, the phone has 512 mb, but 128 are reserved for Gsm/data connection. Just think if you had an incoming call and all your ram was in use, u had to wait for the system to clear up some memory before being able to receive the call physiclly. That would be a long wait.
I could be wrong and sorry for the bad english.
Sent from my GT-I9000 using XDA App
Have you ever tried "Minfreemanager" app?
It can change the minimum available memory level in different app usage.
The device must be rooted first.
Then select "Aggressive" preset and see the result.
rkantos said:
. I'd say there is about 384MB of ram total on the sgs and not the 512 claimed.
Click to expand...
Click to collapse
If this turns out to be true, samsung is up for a massive lawsuit from MANY angry customers who've been mislead due to false marketing
tra33372 said:
Have you ever tried "Minfreemanager" app?
It can change the minimum available memory level in different app usage.
The device must be rooted first.
Then select "Aggressive" preset and see the result.
Click to expand...
Click to collapse
DAMN!!! Nice app... it does exactly what I need cleans my RAM so I'll get 120MB and after that loading of apps is much faster than starting apps with Android included RAM cleaning.
It just cleans my RAM like a reboot but without the reboot
This should be a temporary solution until someone finds a better solution or until froyo is released.
I would like to have an application like this with an autoclean option on 2 hours
Guys please,
Getting off-topic here. Here is Android Development.
Not Q&A or General.
Please post in the right section.
Here is getting too many off-topics that pose no relation to Android Development.
Too cluttered.
Thanks
DasLeo said:
DAMN!!! Nice app... it does exactly what I need cleans my RAM so I'll get 120MB and after that loading of apps is much faster than starting apps with Android included RAM cleaning.
It just cleans my RAM like a reboot but without the reboot
This should be a temporary solution until someone finds a better solution or until froyo is released.
I would like to have an application like this with an autoclean option on 2 hours
Click to expand...
Click to collapse
Auto killer is better.Its exactly the same as minfreemanager but can be made to apply at boot.Minfree manager resets itself at boot.
I use Memory Booster Lite (free version) app to free up memory, must do that manually but it works very well, if you buy the app it free up memory automaticly.
Pika007 said:
If this turns out to be true, samsung is up for a massive lawsuit from MANY angry customers who've been mislead due to false marketing
Click to expand...
Click to collapse
The phone does have 512mb of ram. It just isn't used properly.
MOJO783010 said:
Hi, didn't read all the posts, but u should look into the RFS file system, which is samsung proprietery file system. It has a very bad implementation on android (i could be wrong). As for ram, the phone has 512 mb, but 128 are reserved for Gsm/data connection. Just think if you had an incoming call and all your ram was in use, u had to wait for the system to clear up some memory before being able to receive the call physiclly. That would be a long wait.
I could be wrong and sorry for the bad english.
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
No, wrong. The reserved ram is in the form of a ram disk, which seems to be a bit oversized. Not really sure why a ram disk is needed at all, personally.
sammy555 said:
Auto killer is better.Its exactly the same as minfreemanager but can be made to apply at boot.Minfree manager resets itself at boot.
Click to expand...
Click to collapse
This is the correct solution. the JF* series of firmwares have very bad default settings for killing unused apps. Use this app to set them a bit better and you shouldn't have any problems.
Pika007 said:
If this turns out to be true, samsung is up for a massive lawsuit from MANY angry customers who've been mislead due to false marketing
Click to expand...
Click to collapse
It does have 512 of ram, but some is partitioned off for the phone, so that you can always receive phone calls. Just about every device does this, because users would be more upset if they couldn't pick up the phone until they had closed a bundle of running programs. Don't you think that people here would have noticed earlier if the SGS physically had less ram than claimed ?
As far as the OP is concerned, sounds like you are just running too many programs at once. Its not an android problem, its user error.
Any task manager, but particularly an auto-killer will set you right, although alternatively you could try not leaving every app open when you're finished with it. You think your PC would run ok if you left one game open while you opened another ?
DasLeo said:
I never testet Froyo because everyone said, it's unstable but for me it seems like froyo has other RAM management than Eclair when you said you can't reproduce this problem.
I'm already using a task killer... I have my main apps ignored or excluded and most time there are 2 or 3 apps which will be killed after lock or time or what else.
What's the problem here... if I would use a PC with 512MB RAM and use only 10 small applications, it won't cache everything in the ram until it's full.
Click to expand...
Click to collapse
I wasn't comparing a N1 on FroYo to the SGS on Eclair. My comments were in regard to when I was on Eclair, which was several months...FroYo's only been available for a couple of months. What I said was since I'm on FroYo now, I can't compare side-by-side, but my experience with an N1 on Eclair was never any lag problem or GUI freezes.
Anyways, I also suggested you try Autokiller, and you missed that or misunderstood it by saying you already run a Task Killer (which is generally considered a bad idea, but I see you picked up on Autokiller after someone else suggested it. Enjoy.
Pika007 said:
If this turns out to be true, samsung is up for a massive lawsuit from MANY angry customers who've been mislead due to false marketing
Click to expand...
Click to collapse
Nah, all phones advertise the actual chip size in it, not the amount the system actually lets you use.
tra33372 said:
Have you ever tried "Minfreemanager" app?
It can change the minimum available memory level in different app usage.
The device must be rooted first.
Then select "Aggressive" preset and see the result.
Click to expand...
Click to collapse
Thank you. This removes almost all lag I'm experiencing.

512Mb RAM - Getting it out ?

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.

[REQ/DEV] ROM as allocated RAM

Hi
Dunno if this is possible, but when I think of windows computers back in the days, it was possible to use som of the harddrive as allocated memory.
Is this possible with the o2x? 512mb seems to be a little low on 2.2.2. Guess it will be better on 2.3... but, in the meantime, is it possible from a rooted o2x to use my internal or external as allocated memory...
I got a sh*tload of apps installed, and is down to 75mb RAM available, and it is getting a bit laggish... I've installed Zeamlauncher, and frozen LG 2.2.2 UI, and other unnessacary apps. But I'm still low on memory
Short answer is no.
Longer answer is if you have 75MB free you don't need any more... that's heaps!
There's no point in having a lot of free ram, you only need as much as the next task wants so that Android doesn't need to swap out memory.
Available ram will not affect performance unless it's lower than ~20MB.
Use autokiller (free on market), it can adjust the android memory config settings.
Functional on LG 2x (root needed)
I just thinks the o2x gets laggier and laggier as days go by
at first it was real fast, but then as it got filles up with apps, its getting slower...
got some quite long hangtimes sometimes. espacially when installing a new app.
This was not the situation in the first couple of days. Had it for about 14 days now, and its not as optimal as in the beginning.
Guess I'll just wait for a custom ROM.
It helps using a taskiller + cache cleaner, but only for a short time
DocRambone said:
Use autokiller (free on market), it can adjust the android memory config settings.
Functional on LG 2x (root needed)
Click to expand...
Click to collapse
Will try
Do you have some settings for the app, that would be good with the o2x?
Haven't tried this exact app before...
larsn84 said:
Dunno if this is possible, but when I think of windows computers back in the days, it was possible to use som of the harddrive as allocated memory.
Click to expand...
Click to collapse
I think that Android has a better (and more specific) memory management technique.
Btw the method you are referring to it's called virtual memory and every modern general purpose operating system uses this memory management technique.
larsn84 said:
It helps using a taskiller + cache cleaner, but only for a short time
Click to expand...
Click to collapse
Task-killers aren't good with 2.2.2
There's a long explanation as to why, which can be googled.

[q]Why SGS use 150MB of ram while xperia x10 use only 90MB?

game use more and more RAM, so... I noticed that wolf's rom on my father's x10 use only 80-90MB of ram....
... so Xperia got more free ram than SGS? Funny? NOT
I know I can't change it, but why Wolf's made damn light rom, and we got less free space?
Are the firmwares the same? Different firmware requires different amounts of RAM.
And yes, actually, there is something you can do about it. Check out the V6 Supercharger script. With that, you can change how much RAM the system keeps free.
I mean everything is closed. And yes I know the trick...
Still SGS with launcher took 120MB (fresh after flash) and 130-150MB after all Aps restore, SWYPE etc....
So clean Android here 130-150 with no apps running at background...
Xperia X10 I open setting, I did not clean any of apps, and Android took 88MB ...
It was surprise for me.
The worst part is that SGS got 512MB of total Memory vs 384MB. I got around 160MB free memory on Xperia vs 160-170mb free memory on SGS.
So only real possible way to increase free memory is to put to SGS Bigmem kernel that break 720p recording.
suntzu123 said:
I mean everything is closed. And yes I know the trick...
Still SGS with launcher took 120MB (fresh after flash) and 130-150MB after all Aps restore, SWYPE etc....
So clean Android here 130-150 with no apps running at background...
Xperia X10 I open setting, I did not clean any of apps, and Android took 88MB ...
It was surprise for me.
The worst part is that SGS got 512MB of total Memory vs 384MB. I got around 160MB free memory on Xperia vs 160-170mb free memory on SGS.
So only real possible way to increase free memory is to put to SGS Bigmem kernel that break 720p recording.
Click to expand...
Click to collapse
Again, if you're talking about free RAM with no apps running, then you're talking about how much RAM the firmware is using. If you want your phone to always keep more RAM free than it currently does, you can use various tweaks to modify Android's memory management—such as the V6 Supercharger Script that I previously linked to. If this isn't sufficient, then you can flash a Froyo ROM (instead of a Gingerbread ROM), since Froyo uses less RAM.
If you're asking why Android on the Xperia device is using less RAM, I honestly have no idea. But it's likely due to a difference in firmware.
My froyo uses 240mb of ram with no apps active. Just some widgets like facebook,clock,callendar...So i guess your ok with 150mb.

Categories

Resources