Related
To all the ROM cooks and expert,
I have a quick question regard the TOTAL amount of the RAM available in a ROM. I tried many new and old roms in this forum and I found one general conclusion. That is generally for all the roms (except the one with UL, Throttle Laucher, or SPB shell loaded), the amount of used RAM after a reboot is about the same, about 23 ~ 24 MB. However, what make the amount of free RAM available depends on the amount of TOTAL available RAM. This is my question, how come in some roms, there is about 52 MB available while some only have about 47 MB available. As you can see, the difference is about 5 MB, which is a good amount? Thanks
The total available RAM has to do with how big the pagepool is, how much is dedicated to the kernel, etc. The free RAM has to do with what's running in the background (programs, services, etc.)
ivanmmj said:
The total available RAM has to do with how big the pagepool is, how much is dedicated to the kernel, etc. The free RAM has to do with what's running in the background (programs, services, etc.)
Click to expand...
Click to collapse
I know to get more free ram, we can disable startup services and some background programs, but can we get more TOTAL available ram? I should ask this question up front. Our device, Herald or Wing, have 64 Meg of RAM, even with your JUSTME, the maximum it shows in "Device Information" is about 52 Megs. Where is the remain 12 Megs go? Can you tell me more details about it. Thanks
live4nothing said:
I know to get more free ram, we can disable startup services and some background programs, but can we get more TOTAL available ram? I should ask this question up front. Our device, Herald or Wing, have 64 Meg of RAM, even with your JUSTME, the maximum it shows in "Device Information" is about 52 Megs. Where is the remain 12 Megs go? Can you tell me more details about it. Thanks
Click to expand...
Click to collapse
I would think it would be for the OS software but I could be wrong.
speoples20 said:
I would think it would be for the OS software but I could be wrong.
Click to expand...
Click to collapse
Thanks. If it is for the software, then it should reside in the ROM. RAM is for anything that is running, currently or background. What I don't understand is that papa's newest RC6, Open Touch 6.5, and PDA viet's most updated ROMs they all have the same OS build (at least I believe they are), but the TOTAL available ram is different on each ROM. I am trying to build my own rom and just try to learn many thing as possible. Thanks
The "missing" RAM is taken by the XIP (kernel and such) and various other things like the pagepool. If these guys ran from the ROM, the device would be extremely slow.
Hi everyone,
Because I've seen the "not enough memory" notice a few times now, I decided to make a simple calculation on the device's memory. And the results are strange:
Program memory (RAM)
-- Total 43.62 MB / In Use: 28.07 MB / Free: 15.55 MB
----- but the device has 64 MB RAM, so where are the remaining 20 MB?
According to the Task Manager, all running programs, including the device natives such as GWES.exe (5,7 MB), DEVICE.EXE (4,1 MB), Shell32.exe (2,4 MB) -- consume a total of 14 MB, so this is very strange...
Storage Memory
-- Total: 81.81 MB / In use: 32.55 MB / Free: 49.27 MB
----- the the device has 128 MB of ROM, so where are the remaining 46 MB?
So I am stuck with some 14 MB of RAM left which is apparently not enough - the IRIS Browser (1.1.5) for instance shuts down after two clicks.
If anyone can explain this or even better - suggest some remedy - they'll be most appreciated! Thanks!
just for your info, we don't deal with non-HTC devices..
hope you get your answer
Okay, first time posting so bear with me.
Thank you Trashcan for Windows 6.5!
I read specifications for the Epix that says it has 150 MB RAM and 256 MB ROM.
When I go into Start->Settings->System->Memory, it shows 147.13 MB storage and 97.37 MB Program.
So, that would mean that the OS is using all of the 97.37 MB to run?
Does that sound accurate?
Also, does anyone know if there is any possibility to upgrade the RAM so I can still use this phone?
Thank you!
Hi! I try xdandroid rom from his official site.
Apart little things maybe fixed on other rom that i've found here, there's a method to increase the available RAM? Because I've a Raph100 and it use only 50/60 Mb (I saw that in the "running applications" menu).
Thanks!
TheXeno said:
Hi! I try xdandroid rom from his official site.
Apart little things maybe fixed on other rom that i've found here, there's a method to increase the available RAM? Because I've a Raph100 and it use only 50/60 Mb (I saw that in the "running applications" menu).
Thanks!
Click to expand...
Click to collapse
Well obviously to physically get more RAM you'd have to get the soldering iron out and be pretty brave.
To manage memory better, read my Speed Improvements thread. There's a topic that covers memory management - you can get as detailed as you want with it, or just use the SuperCharger script. Either way, depends on how much you want to learn it .
I don't understand very well, but i don't think this will change the physical ram used. I mean, if it runs under/with win mobile, maybe we can change one parameter to release more memory. Like the page pool setting: maybe applying this directly to haret.exe
But the problem is, winmo is shutdown completely; if I'm not mistaken. You know, the whole reason why you have to reboot your phone in order to get winmo back. Usually apps that run under winmo, you just shut down and either run cleanRAM to regain the memory or you could reboot at that time but you do it while winmo is still running in either case.
TheXeno said:
I don't understand very well, but i don't think this will change the physical ram used. I mean, if it runs under/with win mobile, maybe we can change one parameter to release more memory. Like the page pool setting: maybe applying this directly to haret.exe
Click to expand...
Click to collapse
You don't understand, WinMo is completely kicked out of memory - no trace of it is left. Many have done extensive tests, WinMo ROM speed has no effect on Android speed - why would it? It's not running "under" WinMo. HaRET is not a 'virtual machine' or an emulator. We're actually running Linux on the hardware - about all WinMo does for us is initialize said hardware.
Understand. And ok... but the question remains: my raph has 288Mb of RAM. Why Android use only 60? (in application menu: (plus or minus) "xx Mb used of 60 total")
TheXeno said:
Understand. And ok... but the question remains: my raph has 288Mb of RAM. Why Android use only 60? (in application menu: (plus or minus) "xx Mb used of 60 total")
Click to expand...
Click to collapse
Well 288mb is the total amount. In WinMo, you don't have that much total because of various things like video etc. Lots are beyond me.
Perhaps RAPH doesn't have all the banks available? I doubt it. Have you checked with free? In the terminal.
My RHOD says 171mb total, when I also have 288mb physically. I would think it would show more than 60 tho... Perhaps you've done something wrong? Using the wrong startup perhaps...?
You say you have a RAPH100, that isn't one of the crippled models.
So it's not only my diam100 who can not use all the RAM! I'm relieved!
I knew that even with 192MB, 64MB were blocked for VRAM (I think)
Winmo 6.5 shows a total of 111.66Mb
In settings, xdandroid 2.3.7 (compiled by me) shows only 30Mb, with free 0Mb
using the command FREE in the ADB, however, shows a total of 103Mb, with 1 or 2 MB free
In these days I'm doing some tests with compcache off, 24Mb (1 / 4 of RAM) or more
using Compcache the maximum memory is increased, but free is always 1 or 2Mb!
In the next days I will try with FRX07.1, we will see
Fabiett83 said:
So it's not only my diam100 who can not use all the RAM! I'm relieved!
I knew that even with 192MB, 64MB were blocked for VRAM (I think)
Winmo 6.5 shows a total of 111.66Mb
In settings, xdandroid 2.3.7 (compiled by me) shows only 30Mb, with free 0Mb
using the command FREE in the ADB, however, shows a total of 103Mb, with 1 or 2 MB free
In these days I'm doing some tests with compcache off, 24Mb (1 / 4 of RAM) or more
using Compcache the maximum memory is increased, but free is always 1 or 2Mb!
In the next days I will try with FRX07.1, we will see
Click to expand...
Click to collapse
Based on free, that sound accurate. Settings -> About Phone might be using some different metrics (I honestly don't know).
And what about the 1 or 2 Mb free? they're too less to be ALWAYS 2 Mb, or not?
TheXeno said:
And what about the 1 or 2 Mb free? they're too less to be ALWAYS 2 Mb, or not?
Click to expand...
Click to collapse
What is this, I don't even...
I mean that it isn't normal which there are always 2Mb free, in according to Fabiett83 (he says this)
I'm sorry, before i meant 1-2 mb of uncompressed ram, there was still free memory in compcache
I think android needs more than 100Mb of ram, so it keep closing open apps and processes when i/it need ram for anything else
this could explain the ever full ram and the long time needed for opening apps
even answering to calls needs more than a minute if the phone app is not open!
Edit:
This is the result of ADB Free command in a fresh FRX7.1 install
_____ ---- total --- used --- free - shared - buffers
Mem: -- 103160 - 101116 -- 2044 ------ 0 ----- 72
Swap: - 102392 -- 64004 - 38388
Total: - 205552 - 165120 - 40432
Android uses a total of 165Mb of ram
Now with compcache set to 80Mb in froyo.user.conf
_____ ---- total --- used --- free - shared - buffers
Mem: -- 103160 - 101332 -- 1828 ------ 0 ---- 256
Swap: -- 81912 -- 54032 - 27880
Total: - 185072 - 155364 - 29708
Here uses 155Mb, but leaves less compcache free
Last with compcache set to 64Mb
_____ ---- total --- used --- free - shared - buffers
Mem: -- 103160 - 101812 -- 1348 ------ 0 ---- 352
Swap: -- 65528 -- 34356 - 31172
Total: - 168688 - 136168 - 32520
I Don't know... seem to always use the max possible uncompressed ram and thel load the rest in compcache
what i can clearly see is that the less compcache i use the more responsive the system is!
I will stick to 64mb for a while, i hope 168Mb is enough for normal use
Hello everyone,
i see that my device have only 1.78Gb of memory. I expected 2Gb. Some memory my be used from the kernel but nevertheless total memory must be 2Gb. Is there a problem with my device?
Regards
zagy said:
Hello everyone,
i see that my device have only 1.78Gb of memory. I expected 2Gb. Some memory my be used from the kernel but nevertheless total memory must be 2Gb. Is there a problem with my device?
Regards
Click to expand...
Click to collapse
Your device is just fine, your device simply sets some ram aside for tasking etc, overall your device still uses 2gb ram but some of it is allocated to the system
Weird, mine has 2.22 Gb of ram. Maybe they gave me yours by accident?
Seriously, yeah don't sweat it, that's normal.
I'm sorry but where do you see the amount of internal RAM?
Pinnacle74 said:
I'm sorry but where do you see the amount of internal RAM?
Click to expand...
Click to collapse
You can do it in two ways. You can long press home on the bottom left and then release it. After a moment the task manager will appear. Or you can press the up arrow at the bottom center and open task manager. In task manager you will find ram manager...
silenced3 said:
You can do it in two ways. You can long press home on the bottom left and then release it. After a moment the task manager will appear. Or you can press the up arrow at the bottom center and open task manager. In task manager you will find ram manager...
Click to expand...
Click to collapse
Yeah, mine shows 1.78GB.
Thanks, I'm afraid I'm all out of thanks today so I'll try to remember to thank you tomorrow instead.
:good:
Every killobyte is 1024 bytes. A megabyte is 1024 KB. GB is 1024MB.
When it comes to memory (usually with SD cards, DOKs, Hard drives), they do KB = 1000 bytes, MB = 1000 KB, and so on.
So, 2GB becomes 2000000000 bytes instead of 2147483648. Divide it by 1024*1024*1024 and you get about 1.78 instead of 2.0.
GodSlayer said:
Every killobyte is 1024 bytes. A megabyte is 1024 KB. GB is 1024MB.
When it comes to memory (usually with SD cards, DOKs, Hard drives), they do KB = 1000 bytes, MB = 1000 KB, and so on.
So, 2GB becomes 2000000000 bytes instead of 2147483648. Divide it by 1024*1024*1024 and you get about 1.78 instead of 2.0.
Click to expand...
Click to collapse
Thanks for you answer. I still can't believe such calculations are used but sounds a little bit reasonably.
I see that other owners have the same amount of ram than everything is normal with my device.
Regards
Pinnacle74 said:
I'm sorry but where do you see the amount of internal RAM?
Click to expand...
Click to collapse
Other options than the one above is:
You can install from market "Android System Info". It's free and give you every single detail about your hardware/software/etc.
When you start the program go to the second tab "System" and than click on "Memory". There you will see "Total RAM".
Regards
It has 2GB of physical RAM. A pretty decent size of it is reserved memory for the GPU and hardware video encoder/decoder, plus some other stuff.
Think of the old days of winmodems and graphics cards that shared memory with the system - same concept here.