[APP] EatMemory - Windows Mobile Software Development

In light of recent discoveries about the HD2's hidden 128MB RAM, I've written a small application which uses the native Win32 API to allocate as much memory as it can (up to 2GB), and verifies it.
Notes:
This application is designed to test the limits of your device's memory. In particular, to test if the HD2's additional 128MB is actually usable or not.
This application will attempt to allocate as much memory as it can, OS limits notwithstanding. The application allocates memory in the OS's shared memory space, which means that it isn't privy to the usual 32MB address space limit.
Because the application isn't limited to 32MB memory usage, you don't need to run multiple instances to consume your memory. Just one instance will do.
This application does not use .NET, and instead uses the direct low-level kernel memory management functions (VirtualAlloc and VirtualFree) to reserve, commit, and free virtual pages. This means that the application has much more precise control over memory, and can consume memory until only a couple of megabytes remain.
This application verifies the memory it allocates, by writing a byte pattern to the memory, and reading it out again. This is necessary because the Windows CE kernel does not commit pages to physical memory unless the memory page is read/written from at least once. This also guarantees that the memory is, in fact, usable and valid.
The attached zip file includes an executable file and source code (C++, requires Windows Mobile 6 SDK).

hi! i've tryed it in my rom without the hidden ram enabled and the result is:
Success:could not commit pages
memory eaten:132MB
and after the programs close my free ram is 145, i guess last 10mb are not usable for some reaso? (WM6.6 memory management?)
regards

makeveral said:
hi! i've tryed it in my rom without the hidden ram enabled and the result is:
Success:could not commit pages
memory eaten:132MB
and after the programs close my free ram is 145, i guess last 10mb are not usable for some reaso? (WM6.6 memory management?)
regards
Click to expand...
Click to collapse
also when used with rom with hidden rams avaliable it closes before it the 1mb is filled

hm, got 180 on my rom

Memory eaten : 276 MB
after 290 MB free

Sorry. This is not working for me... It did not constantly allocate any ram on my device...
with a modified version of my "old" program, i was able to eat up 99% of ram... Still, I think in my first attempt i did proof the existance, cuz i definetly used more then 448 MB of RAM....
greez

Soft-resetted my HD2, run the app. and got 204 MB. So does this proove that I don't have any hidden RAM or not?

everyone has 572mb- stop bothering...

We don´t have the 1. of april, but carneval is still going on, so this may be the reason for this joke i think.

I'm interested if this will work for X1?
it is for HD2
but onyone tst this for X1?
sorry for my bad english

Is 25 minutes to long
I have the htc touch pro with mightyrom and i am running this now. it has been about 25 mins. is that to long or can i assume it does not work on my pro.

Do you think this would work on Rhodium too?
Thanks,

Im getting 272-276mb eaten fairly consistently after the os has been up for a few hours.
and 280-284mb after a soft reset on my HD2

bobcsc said:
I have the htc touch pro with mightyrom and i am running this now. it has been about 25 mins. is that to long or can i assume it does not work on my pro.
Click to expand...
Click to collapse
It's odd, it should work on any WM6 (or higher) device.

bobcsc said:
I have the htc touch pro with mightyrom and i am running this now. it has been about 25 mins. is that to long or can i assume it does not work on my pro.
Click to expand...
Click to collapse
the results window may get hidden Ive had that a few times.
use a taskmanager to bring it to the front

Work on Diamond 2 (Topaz) ?

abdess47 said:
Work on Diamond 2 (Topaz) ?
Click to expand...
Click to collapse
i try out but i don't see any change in ram memory... stil 179mB..

Keep in mind that the application frees up all the memory it chews once it's done. So after the application exits, your amount of free RAM will not be changed. The application should report how much memory it managed to allocate once it's done, and if you open up the memory screen in settings (or whatever) you should see the amount of free memory drop as the program runs.

Sounds like some pretty heavy stuff. this is gonna be huge

I think, this program can be used for cleaning ram
thank.

Related

Upgrading RAM for JasJar

Hi All,
Is there a way to Upgrade the RAM for JasJar from 64MB to 128MB ??
Thunder2210 said:
Hi All,
Is there a way to Upgrade the RAM for JasJar from 64MB to 128MB ??
Click to expand...
Click to collapse
what for ? i have found no reason to do it and it will drain too fast the battery.
decebal said:
Thunder2210 said:
Hi All,
Is there a way to Upgrade the RAM for JasJar from 64MB to 128MB ??
Click to expand...
Click to collapse
what for ? i have found no reason to do it and it will drain too fast the battery.
Click to expand...
Click to collapse
What for???????????????????
Because this is the most slowest PDA I holded ever in my hand.
I totally dissapointed with it.
If I install my main programs - not more - the free RAM will be maximum 23-24MB (after a hard reset it is 30-32MB), but when I use it, it decreases itself without any program running.
I start from 22.5MB after softreset, and when I use some programs it decreases (it's normal), but when I close them it is less time after time. So it is not enough to close a program. After 5-10 minutes with starting and closing some program it is 10-12MB free RAM memory without any program running!!!!!!
And what is my problem with it?
Hmmm....
For example a little complicated application (a navigation software) needs 10-15MB minimum.
So if you are lucky, you can start the program, but not more.
Don't imagine that you can use 2 or 3 (or forgive me 4) application simultanously.
That's very nice, isn't it?
Any idea to solve this sh*t?
THX
Thunder2210 said:
Hi All,
Is there a way to Upgrade the RAM for JasJar from 64MB to 128MB ??
Click to expand...
Click to collapse
Hi
Asukal already mounted 128MB RAM on mother board.
But unsuccessfull. Memory area does not change.
Storage card
U should try to install the software on the storrage card. Demanding programs like tomtom and high graffical games work great!.
When installing the program from the PC the add programs window opens (u know from active sync) There you can choose not to install the software on it's default location.
Above all that with WM5 you can also choose wether you want to install to your storrage card or on your memory.
Think of it like this:
On your PC:
Would you install your programs on precious RAM memory? That's why we use the hard disk.
cheers Jonathan
Re: Storage card
WizzarD-me said:
U should try to install the software on the storrage card. Demanding programs like tomtom and high graffical games work great!.
When installing the program from the PC the add programs window opens (u know from active sync) There you can choose not to install the software on it's default location.
Above all that with WM5 you can also choose wether you want to install to your storrage card or on your memory.
Think of it like this:
On your PC:
Would you install your programs on precious RAM memory? That's why we use the hard disk.
cheers Jonathan
Click to expand...
Click to collapse
You are in a total misunderstanding, sorry.
Though there are slots for extra 32MB each it cannot b upgraded as the occupied slots are differrent than those which are left empty.Hv tried desoldering the RAM but after desoldering this fact was revealed..so
not possible as of now
I totally agree with Thunder2210 and others that there is a sever shortage of RAM (Program Memory) on this device.
Installing programs on SD card has nothing to do with the available RAM (Program Memory to be more precise). Installing programs on SD card only saves you the ROM (Storage Memory) which is not an issue anyways. The main problem is program memory and as rightly said by some in this thread that this gradually depletes as you work with your device after a soft reset. Try to open a very large web page such as the ones which review pocket pc devices with a lot of comparative pictures and your browser will soon run short of memory ultimately freezing your device.
However I fear that nothing can be done about this. This is probably an issue or limitation that Windows mobile 2005 operating system cannot address memory beyond 64 MB. Probably this is the reason that you must have seen recent devices where the Storage Memory (ROM) is higher than 128 MB but nothing is done about the RAM which remains at 64 MB. Unfortunately what we need is more RAM and not ROM.
Regards
srmz said:
Unfortunately what we need is more RAM and not ROM.
Regards
Click to expand...
Click to collapse
I have to disagree.... What we need is both more RAM and more ROM
srmz said:
Unfortunately what we need is more RAM and not ROM.
Regards
Click to expand...
Click to collapse
I have to disagree.... What we need is both more RAM and more ROM
just my 2 cents:
you may remember, the first device running windows mobile 5 was the good old XDA2, which is basically an old WM2003 device with 128mb ram and 64mb rom, where only 32mb is available for the user. but: the windows mobile running on this version (modified by some brave and good people here) is able to address all the ram, yes and there are different versions available:
128mb ram for running programs but no ramdisk for storing programs
96mb for running programs and 32mb reserved for ramdisk
64mb for running programs and 64mb reserved for ramdisk
etc. etc.
while i was using my XDA2 i have preferred the 96mb ram solution and wm5 was fully able to use those 96mb. even it is an old device, can you imagine how smooth i.e. mobile navigator 5 was running with 64-70mb of free ram (and overclocked from 400 to 530mhz)? it was lots of fun! htc universal is a piece of hightech sh*t, nothing for the real world use, compared to XDA2. i still have mine only for the vga screen otherwise i would have selled it long ago.
regards
peter
peter_altherr said:
just my 2 cents:
you may remember, the first device running windows mobile 5 was the good old XDA2, which is basically an old WM2003 device with 128mb ram and 64mb rom, where only 32mb is available for the user. but: the windows mobile running on this version (modified by some brave and good people here) is able to address all the ram, yes and there are different versions available:
128mb ram for running programs but no ramdisk for storing programs
96mb for running programs and 32mb reserved for ramdisk
64mb for running programs and 64mb reserved for ramdisk
etc. etc.
while i was using my XDA2 i have preferred the 96mb ram solution and wm5 was fully able to use those 96mb. even it is an old device, can you imagine how smooth i.e. mobile navigator 5 was running with 64-70mb of free ram (and overclocked from 400 to 530mhz)? it was lots of fun! htc universal is a piece of hightech sh*t, nothing for the real world use, compared to XDA2. i still have mine only for the vga screen otherwise i would have selled it long ago.
regards
peter
Click to expand...
Click to collapse
I'm with You Pete. If there is a VGA-PDA-Phone with 128MB RAM I would sell my Jasjar immediately. But there are no better ones. Only worse.
512MB ROM / 8GB Micro Drive ...
Tuningszocske said:
peter_altherr said:
just my 2 cents:
you may remember, the first device running windows mobile 5 was the good old XDA2, which is basically an old WM2003 device with 128mb ram and 64mb rom, where only 32mb is available for the user. but: the windows mobile running on this version (modified by some brave and good people here) is able to address all the ram, yes and there are different versions available:
128mb ram for running programs but no ramdisk for storing programs
96mb for running programs and 32mb reserved for ramdisk
64mb for running programs and 64mb reserved for ramdisk
etc. etc.
while i was using my XDA2 i have preferred the 96mb ram solution and wm5 was fully able to use those 96mb. even it is an old device, can you imagine how smooth i.e. mobile navigator 5 was running with 64-70mb of free ram (and overclocked from 400 to 530mhz)? it was lots of fun! htc universal is a piece of hightech sh*t, nothing for the real world use, compared to XDA2. i still have mine only for the vga screen otherwise i would have selled it long ago.
regards
peter
Click to expand...
Click to collapse
I'm with You Pete. If there is a VGA-PDA-Phone with 128MB RAM I would sell my Jasjar immediately. But there are no better ones. Only worse.
Click to expand...
Click to collapse
Check this out........I think U will like:
http://www.mobile88.com/mobilegalle...dvance_tech_magic&pg=spec&prodid=20145&cat=58
Hm... From what do You think we will like it? It has QVGA display. We wrote that one of the most important things is VGA-screen for us. But thanx anyway!
512MB ROM / 8GB Micro Drive ...
Its just the Memory on the ROM..., maybe they will have a VGA screen soon...
lack of ram on Universal
not an upgrade unfortunatly but certainly a help is a close button that actually closes things rather than just putting them in the background,
and heres a link to the program i use
http://www.pocketgear.com/products_search.asp
its a nice little program so doesn't eat your rom and its unobtrusive so wont clog up your today screen
Re: lack of ram on Universal
Yetster said:
not an upgrade unfortunatly but certainly a help is a close button that actually closes things rather than just putting them in the background,
and heres a link to the program i use
http://www.pocketgear.com/products_search.asp
its a nice little program so doesn't eat your rom and its unobtrusive so wont clog up your today screen
Click to expand...
Click to collapse
Can U please fix the link, it does not work.
i know from my expreiance with BA WM5 rom editing that just soldering the ram on the board is not enough, you will need to find the hex values in the (decrypted) rom file that decideds how much ram the system partitions for itself on boot.
e.g - in BA wm5 roms you can edit these values so that some of the ram is left unpartitioned, leaving it free to be used as a ramdisk.
I see no reason why if someone found these values in a universal rom, combined with soldering on extra ramchips, they could reverse the process and increase the memory windows uses.
www.oesf.org/forums
PocketPenguin. Current plan:
imx31 533mhz ARM11 CPU with internal GPU and FPU
256mb MDDR266
2 SD slots, ATA, Phone (Although this is becoming more useless by the day it seems, looks like the Videocall option is being dropped. Which is 80% of the reason I want the thing. (I want Videocalls but hate Windows Mobile)
Go, Sign up, and put in your requests and comments, Looks to be about $600-$700 total, Although you have to put it together. It's a DIY thing, (Loopholes are so great XD)
for this, I've send a mail to PocketPCTechs.com here it is
Hi LB,
Unfortunately we do not offer any RAM upgrades for the iMATE JASJAR. The nature of the CPU will not recognize any more memory.
Best regards,
Martina
PocketPCTechs
--------------------------------------------------------------------------------
Computer_Make : IMATE
Computer_Model : JASJAR(Dopod900)
Comments : Hi there, I've sent my HX4700 to you for upgrading the RAM and it works great since it's back. I recently purchased an IMATE-JASJAR,so just wondering do you have any plan that to upgrade its RAM to 128MB/256MB? I really need a biger speace. Please let me know,thanks.
best,
LB.

Ram availability and Wm 6.1

So I am seeing all these wm 6.1 with very low amounts or ram in them. Is low ram the norm with 6.1? How do people get their ppc's to run properly with only 20 mb's of ram to start?
bartybet said:
So I am seeing all these wm 6.1 with very low amounts or ram in them. Is low ram the norm with 6.1? How do people get their ppc's to run properly with only 20 mb's of ram to start?
Click to expand...
Click to collapse
I'll follow with a really ignorant question.. is there any way to shift the memory to program RAM vs storage? ie. I've got a 6G SDHC card.. I don't care about "bigstorage".. I'd rather see "bigRAM" builds.. but since I've never seen a single one, I'm guessing that isn't possible.. I suppose the flash ROM wouldn't have the write cycles to act as a RAM...
zim2dive said:
is there any way to shift the memory to program RAM vs storage? ...
Click to expand...
Click to collapse
Not that i know of past 2003 ppc's. But i find it odd that the cooked 6.0 roms all have close to 30 mb's of storage and these new ones cant crack 22 mb's. Odd.
bartybet said:
Not that i know of past 2003 ppc's. But i find it odd that the cooked 6.0 roms all have close to 30 mb's of storage and these new ones cant crack 22 mb's. Odd.
Click to expand...
Click to collapse
I thought I remembered such a function from my X50v days..
For an in-depth discussion on this topic, you can start out with this thread. Don't be afraid to click on the links within for a very complete understanding of why Program Memory and Storage Space cannot be resized (unfortunately).
-pvs
Don't get it.
I really don't understand at all the drive for larger and larger storage. So what if you have 58MB of "Big Storage" on the device. With SDHC cards growing ever larger at lower costs, the issue, it seems to me, is not device storage as much as Free Program Memory.
I have looked with interest at the new 6.1 ROMs until I search through the posts and find that, at startup, the more desirable ones (with the features I would like), have Free Program Memory in the very low 20MB range. Just load PIE and another memory hog like an audio player and watch your memory drop to less than 4MB and your PIE freeze.
Sorry, I am running a 6.0 ROM with everything I like on it and have about 24MB at startup. I use FreeUp RAM a couple times a day to recover Program Memory and everything is fine. I don't like running this lean and am considering upgrading to a Tytn II (AT&T 8925) with roughly double the memory of the Hermes so I don't have to worry about memory any longer. For me, the 6.1 ROMS with anything worth running and the current memory on the Hermes just doesn't make it. And I love the 8525.
zim2dive said:
I don't care about "bigstorage".. I'd rather see "bigRAM" builds..
Click to expand...
Click to collapse
You are damn right!! Thats my opinion too!
JamesAllen said:
I really don't understand at all the drive for larger and larger storage. [...] With SDHC cards growing ever larger at lower costs, the issue, it seems to me, is not device storage as much as Free Program Memory.
[...] Just load PIE and another memory hog like an audio player and watch your memory drop to less than 4MB and your PIE freeze.
Sorry, I am running a 6.0 ROM with everything I like on it and have about 24MB at startup. I use FreeUp RAM [SkTools!] [...] to recover Program Memory and everything is fine.
Click to expand...
Click to collapse
I've the same setting like you, I am running a clean WM6 with my costum apps and I am also about 25 mb Ram (only with Sk Tools Ram tuning).
So, our future cooking motto is: " We Love SuperBigRam-Builds "
This might help you guys out,
http://www.freewareppc.com/utilities/upx4ppc.shtml
"Absolutely essential program for PPCs with limited space (my 64MB model has only a 20MB ramdisk). I have been able to install twice as many programs thanks to UPX4PPC. Tips: (1) Make sure you untick "compress icons" (ticked by default). (2) Use maximum compression: it doesn't take long and occasionally makes a significant difference. (3) Compressing TCPMP: if you rename all the .plg files to .dll you can upx them (then rename them back!) I reduced the install from 1600KB to 923KB this way!"
Pumpiron579 said:
This might help you guys out,
http://www.freewareppc.com/utilities/upx4ppc.shtml
"Absolutely essential program for PPCs with limited space (my 64MB model has only a 20MB ramdisk). I have been able to install twice as many programs thanks to UPX4PPC. Tips: (1) Make sure you untick "compress icons" (ticked by default). (2) Use maximum compression: it doesn't take long and occasionally makes a significant difference. (3) Compressing TCPMP: if you rename all the .plg files to .dll you can upx them (then rename them back!) I reduced the install from 1600KB to 923KB this way!"
Click to expand...
Click to collapse
Keep in mind that if you do this, the DLL files etc cannot be loaded in shared memory - so your applications have to load their own instance of compressed DLLs. This can make things VERY RAM hungry on your devices...
I run Pays 6.1 rom and i get about 25 megs at start up with Activesync connected to my exchange server.
I notice some roms have a total program memory of 50 megs and some only 48 megs. Does this mean that the rom can be tweaked to get more than 50 megs of Program memory?
Pumpiron579 said:
This might help you guys out,
http://www.freewareppc.com/utilities/upx4ppc.shtml
"Absolutely essential program for PPCs with limited space (my 64MB model has only a 20MB ramdisk). I have been able to install twice as many programs thanks to UPX4PPC. Tips: (1) Make sure you untick "compress icons" (ticked by default). (2) Use maximum compression: it doesn't take long and occasionally makes a significant difference. (3) Compressing TCPMP: if you rename all the .plg files to .dll you can upx them (then rename them back!) I reduced the install from 1600KB to 923KB this way!"
Click to expand...
Click to collapse
Does this save Program RAM? Or Storage space?
pvs said:
For an in-depth discussion on this topic, you can start out with this thread. Don't be afraid to click on the links within for a very complete understanding of why Program Memory and Storage Space cannot be resized (unfortunately).
-pvs
Click to expand...
Click to collapse
Thanks. Informative, tho not the answers I was hoping to hear
Free Program Memory
I understand the preoccupation with maximizing Storage Memory. It is the only memory that apparently can be manipulated. But, the exercise seems rather academic to me with the advent of SDHC cards. It isn't storage memory that has ever been a problem for me, it is Program Memory. And Program Memory cannot be expanded (my understanding) so the only solution is to execute fewer or smaller programs if you want to maximize free Program Memory.
Unless we can get someone to develop a "virtual memory" feature that uses an allocated portion of SDHC memory as Program Memory, the only way we can maximize free program memory is by loading fewer applications, normally through a clean and lean ROM. If it could be accomplished, it would still pose speed issues in that the pipe to the SDHC card has to be far slower than the internal memory pipeline.
My 2 cents worth.
JamesAllen said:
I really don't understand at all the drive for larger and larger storage. So what if you have 58MB of "Big Storage" on the device. With SDHC cards growing ever larger at lower costs, the issue, it seems to me, is not device storage as much as Free Program Memory.
.
Click to expand...
Click to collapse
Don't understand it either. Do the base 6.1 roms come with that little ram built in? Maybe that's why there isnt an official version released yet. They cant get it to run more then 3 things at a time.
The only other answer is Get a kaiser
Kaiser is powered by an Samsung SC32442 400Mhz processor, 256MB ROM and 128MB RAM
friends,,, set file cache (pagepool) to auto mode, zero! when I used schaps wm6 4.31 my hermes had 32mb of free program (ram)..
sebastianmc said:
friends,,, set file cache (pagepool) to auto mode, zero! when I used schaps wm6 4.31 my hermes had 32mb of free program (ram)..
Click to expand...
Click to collapse
Yeah but slow as hell! Pagepool is made exactly to speed up the PDA by caching some data.
The problem is:
- 26-30Mb of RAM are far from enough for a web browser with flash content
- SD card bus is so slow on latency that can hardly be used as a virtual memory for active programs
- No pagepool or no cache is not an option
Perhaps someone could build ASAP an application that would transfer non-active drivers/apps or less demanding apps to a virtual RAM on the SD and keep the active ones (HTC Home, phone app, Web browsers/games) on the real RAM
One of the best apps for a mobile is OXIO stuff that will free RAM but perhaps the best option is an app that *in case of very low memory* would free non-used ram and would compress the demanding app data on RAM (usually I only run out of memory if I surf on the web with opera or netfront). Of course it would slow down a bit the PDA at that point but at least the app wouldn´t stop and would run until nothing could be really done.
Does anyone knows an app that does this on-the-fly? (auto-free and compress RAM)
mmick, I dont realize difference between with 4mb ppoll or without ppool.. I made benchs with and without ppool.. and to me, it doesnt make difference in performance... and sometimes I use msn, i.e, e mail, coreplayer. word... without pagepool or file cache, and my device is fast!! I dont believe pagepool.. lol
sorry for my english
regards
sebastianmc said:
mmick, I dont realize difference between with 4mb ppoll or without ppool.. I made benchs with and without ppool.. and to me, it doesnt make difference in performance... and sometimes I use msn, i.e, e mail, coreplayer. word... without pagepool or file cache, and my device is fast!! I dont believe pagepool.. lol
sorry for my english
regards
Click to expand...
Click to collapse
Curious ... did you ever test a ROM with a 6 or 8MB PP? That is where the difference is supposed to be notable.
I've toyed with these settings. These ROMs seemed faster at first, but I'm not so sure if there's a significant difference in the long run. As these were my own home-cooked ROMs I was experimenting with, I never kept them for any length of time.
I'd like to know your experiences with large PagePools, rather than the 4MB default.
Thanks!
-pvs
Pumpiron579 said:
The only other answer is Get a kaiser
Kaiser is powered by an Samsung SC32442 400Mhz processor, 256MB ROM and 128MB RAM
Click to expand...
Click to collapse
I tried the Kaiser and found it slower than the Hermes even though it had more memory. The thing was laggy. They need to put more powerful processors into these things.

Diamond RAM size - 64MB eaten by aliens?

Some observations:
HTC say 192 MB on their page
Settings -> Device Information says 192 MB
So I guess we have established there's physically 192 MB.
Now... This is where it gets confusing:
Settings -> About says 113 MB. Why is the rest hidden, and what (if any) is it dedicated to? That's 80 MB gone. On my P3600 only 15 MB is subtracted here. VGA screen can only account for a few MB.
The task manager also says 113 MB, and with no applications running except TF3D after a soft reset only 55 MB is free. 30MB more than my P3600. Killing TF3D and soft resetting nets another 10 MB.
Naturally there can be differences depending on kernel versions, hacks and so on.
Some interesting math:
192MB (total) - 64MB - 15MB (value from p3600) = 113MB.
To me it looks like 64MB has been swallowed, or dedicated to 3D (why on earth would it need 64MB), or something else. The 15MB portion I assume is for kernel memory. As a side note, current HaRET version reports 128MB.
Thoughts?
My thought would be "What does this have to do with ROM Development?"
Wrong forum. Let's try and keep the place tidy.
mr_Ray said:
My thought would be "What does this have to do with ROM Development?"
Wrong forum. Let's try and keep the place tidy.
Click to expand...
Click to collapse
IMO this has a lot do do with ROM development, seeing as custom ROMs strive for more free memory. I did debate putting it in the "Diamond" forum, but most posts are less technical there. If a mod disagrees feel free to move it.
Also, the only way you could possibly do anything with the ram setup would be a ROM modification.
I don't own the diamond, but couldn't this 64 mb be some video memory, like some pc embeded controlers?
thaihugo said:
I don't own the diamond, but couldn't this 64 mb be some video memory, like some pc embeded controlers?
Click to expand...
Click to collapse
It could, but 64MB is a crap load for a barely capable chipset and a 640 * 480 screen. I have not seen any details on what kind of 3D hardware is actually in there, as they're holding the inner workings pretty closely wrapped.
My guess, and correct me if i'm wrong is the 80mb preserved for the cab files?
Settings-> Device Information says 192MB Ram, 256MB Flash.
I can give you the right answer:
The 64MB are reserved for the opera browser! I've read that somewhere else,
unfortunately I can't remeber where.
So I guess there would be cooked roms in the future without opera
and 64MB more ram...
Yzord said:
My guess, and correct me if i'm wrong is the 80mb preserved for the cab files?
Click to expand...
Click to collapse
what do you mean? like an old extended rom?
rorydaredkign said:
what do you mean? like an old extended rom?
Click to expand...
Click to collapse
yes..................
i dont think that it would make sense to waste so much RAM for the cab files,
because they would only be needed once in the customizing process at the
first start of the device...
as i wrote above, according to my findings the 64mb are reserved for opera!
TML1504 said:
I can give you the right answer:
The 64MB are reserved for the opera browser! I've read that somewhere else,
unfortunately I can't remeber where.
So I guess there would be cooked roms in the future without opera
and 64MB more ram...
Click to expand...
Click to collapse
The cabs file or the extended rom takes up storage memory and not the program memory. I read it in some review that 64MB of the program memory is dedicated to the GPU for graphics rendering of the VGA display.
Quallcomm CPU with 3D graphics requires 64MB RAM dedicated to 3D functions. No other data can be placed in thise 64MB and it can not be freed.
that's why Diamond (and Sony Xperia X1) have so huge amount of RAM.
64mb just for the 3D? That explains why there weren't any 3D drivers in the kaiser and the polaris then.....
ok this is ALL BS, the 64MB isnt "reserved", Windows Mobile reports the RAM and ROM differently then a usual PC / Windows operating environment.
It falls back on the NAND partitions and whats allocated to what. So in future this still has nothing todo with "ROM Development" so please post this in the General diamond forum.
PS: ET did partition the NAND and he ate 45MB of the ram
jesus you rarely see this load of BS
opera, noo, say that was meant to be a bad joke.
and please do not confuse ROM and RAM. cab files for RAM, when the ram contents get lost on battery removal?!? also the nand partitioning doesn't matter for ram, nand is rom.
not sure about the 3D, but it is quite unlikely it'd want 64MB ram. (I can check later if it accesses that much.)
what is for a fact is that there is an extra RAM shared by the radio and the SPL. the OS does not access any of it normally - but *you* can programmatically access it if you really want to, or even by using pmemdump . (except you are less free to access some parts that the radio restricts access to)
however this RAM is present in all the MSM7xxx, but not reported in deviceinfo on kaiser etc, and seems to be 32MB only (though on diamond I saw indication that it might be 64, I will have to re-check that, probably my memory is failing).
but, what appears in deviceinfo is just a hardcoded value that HTC decides on. maybe for marketing reasons they chose to add this in the total RAM.
one last fact - the OS on the diamond only has access to 128MB of whatever this 192 is, this is easily seen (in nk.exe, romheader, etc), the rest is definitely reserved (either radio, or 3G, etc..). so it isn't WM itself that is eating it up.
that's the best I can say so far without specifically looking, but this is an interesting question and I'll look into this.
cmonex said:
jesus you rarely see this load of BS
opera, noo, say that was meant to be a bad joke.
and please do not confuse ROM and RAM. cab files for RAM, when the ram contents get lost on battery removal?!? also the nand partitioning doesn't matter for ram, nand is rom.
not sure about the 3D, but it is quite unlikely it'd want 64MB ram. (I can check later if it accesses that much.)
what is for a fact is that there is an extra RAM shared by the radio and the SPL. the OS does not access any of it normally - but *you* can programmatically access it if you really want to, or even by using pmemdump . (except you are less free to access some parts that the radio restricts access to)
however this RAM is present in all the MSM7xxx, but not reported in deviceinfo on kaiser etc, and seems to be 32MB only (though on diamond I saw indication that it might be 64, I will have to re-check that, probably my memory is failing).
but, what appears in deviceinfo is just a hardcoded value that HTC decides on. maybe for marketing reasons they chose to add this in the total RAM.
one last fact - the OS on the diamond only has access to 128MB of whatever this 192 is, this is easily seen (in nk.exe, romheader, etc), the rest is definitely reserved (either radio, or 3G, etc..). so it isn't WM itself that is eating it up.
that's the best I can say so far without specifically looking, but this is an interesting question and I'll look into this.
Click to expand...
Click to collapse
Finally, someone who seems to know what he's talking about!!!
It's amazing how many fake problems arrise in this forum because of the lack of knowloged of people, which leads to "theories of conspiracy" and sometimes to funny jokes...
64MB RAM for Opera is a good example of a joke...for the love of God, my Opera on my PC, while working with torrents, emails, thousands of favorites, browsing history older than my great-great-grand-father, only takes 40MB RAM...so why the hell would a **** program like opera mobile would need 64MB RAM?...
Anyway, if you're not sure about what you guys are writting, it's better to stay shut up, instead of inventing things and inducing other people in error...
HastaSSSS
s1rl4ncel0t said:
Finally, someone who seems to know what he's talking about!!!
Click to expand...
Click to collapse
"she" actually
cmonex said:
that's the best I can say so far without specifically looking, but this is an interesting question and I'll look into this.
Click to expand...
Click to collapse
As fun as conspiracy theories are, I'm happy to get an answer that makes a little sense

ROM Question: What's eating my RAM?

Hi everyone,
After a Soft-Reset with TF3D disabled this is what I get:
Program Memory
Total: 107.71 MB
In use: 56.13 MB
Free: 51.58 MB
I am using the EnergyROM for my Touch Diamondm build date July, 22nd.
The HTC Task-Manager shows the following Processes:
HTC Task-Manager said:
gwes.exe --- 11565kb Memory Usage
device.exe --- 3137kb Memory Usage
shell32.exe --- 1749kb Memory Usage
filesys.exe --- 1598kb Memory Usage
services.exe --- 1445kb Memory Usage
cprog.exe --- 822kb Memory Usage
dotTaskMgr.exe --- 96kb Memory Usage
connmgr.exe --- 88kb Memory Usage
NK.exe --- 1kb Memory Usage
Click to expand...
Click to collapse
All of these running Processes are using added together 20,541 MB of RAM.
But remember what Windows Mobile said:
Memory in Use: 56,13 MB.
Less the 20,541 MB, which the running Processes are using, there are 35,589 MB, which are reservated or used, but not by running Processes. So my question is:
Who uses the 35,589 MB of RAM, without being shown in the Task-Manager?
Maybe some of you guys knows the Answer
Greets,
Felix
Its the ROM itself which is loaded in the RAM (i guess)..
i also want to konw
Services and things are also loaded into the RAM. There are more than just those processes running. And along with those processes are the images and extra files they use etc which are also loaded in the RAM.
For example the phone canvas - It runs off cprog.exe which says it only takes up 822kb of RAM when in reality it uses up about 8-10MB because of all the images it has to load.
Not to mention the page pool - If the chef runs a higher pagepool then you're RAM usage is going to be higher on boot.
OK, thanks. Is it possible to view the running services and deactivate some of them?
Ch3ck_TH1s_0ut said:
OK, thanks. Is it possible to view the running services and deactivate some of them?
Click to expand...
Click to collapse
Yes use dotfred's taskmanager. You can then view the services.
If you really want to save a sizeable chunk of RAM. Disable the HTC dialer and enable the Windows default one. You'll get about 10% back.
allready did that
felix you mean Kb not Mb. 20,000Mb = 20Gb and the phone cannot have that much!
, stands for 20MB and 541 KB
We dont use . or , to show "1000s" here.
we use it to show post decimal positions
dickenz said:
If you really want to save a sizeable chunk of RAM. Disable the HTC dialer and enable the Windows default one. You'll get about 10% back.
Click to expand...
Click to collapse
How do you do that?
I also had a go with this version of EnergyROM but gave it up for now due to a lack of memory. When closing apps etc. the memory was never freed back up. I also found TomTom had problems after running for a little while. If there is an answer to this, I would switch back as it's the nicest ROM i've tried to date.
How can i see the detail of rom/ram & cpu in my htc hero
I wan to know whether my htc hero is prefect or not!
So i want to see the detail of rom/ram & cpu in my htc hero, but i did not see it. So how can i do?
the same about up
I just want to see the hardware detail in htc hero.

TP2 running v slow - how do i free up memory?

My TP2 (winmo 6.5) is running painfully slow atm - it can take 10-20 seconds do do something like load my inbox or an email..
On a quest to speed it up I was looking at the memory in use:
Total: 187.41mb
In Use: 151.36mb
Free: 36.05
which is when the device is idle with no open apps.
36MB of free memory seems appallingly low to me.
Im sure on winmo 6.1 there was a slider you could adjust how much memory is allocated to storage and how much to programs. did I imagine this or how do i find it now?
I have 259.2MB of 'Storage' memory, of which only 30MB is used, hanging onto the rest is a big waste.
Or - is there a better way to speed things up? (like install android? )
You can look through a couple other posts stating very similar characteristics. Two popular programs are the SSK Dynamic resource proxy and NoPushInternet. Both can help reduce RAM usage significantly. Another program you should look into is CleanRAM, which will clear any stacks that might not have been closed when the program was ended. If you need help finding the CABs let me know and i'll post them up.
http://forum.xda-developers.com/showthread.php?t=676277
Well I dont know which 6.5 your running but I have switched ROMS myself, I was using the EU rom for the past couple of months, and anytime I got under 40MB free memory, the TP2 would run slow and odd, I recently switched over to the SEA rom, put the exact same programs on and as of right now I am running at 27MB of free ram with nothing running, and its just as fast when its fully loaded and I have almost 87MB of free ram. but its taken 4 days to drop to 27MB, odd.
burtonsnow8 said:
You can look through a couple other posts stating very similar characteristics. Two popular programs are the SSK Dynamic resource proxy and NoPushInternet. Both can help reduce RAM usage significantly. Another program you should look into is CleanRAM, which will clear any stacks that might not have been closed when the program was ended. If you need help finding the CABs let me know and i'll post them up.
http://forum.xda-developers.com/showthread.php?t=676277
Click to expand...
Click to collapse
Yeah, also by reducing the ShareMemSize (HKLM\SOFTWARE\HTC\ResProxy) to 0. So I read somehwere!
BioTecK said:
Yeah, also by reducing the ShareMemSize (HKLM\SOFTWARE\HTC\ResProxy) to 0. So I read somehwere!
Click to expand...
Click to collapse
Yes, I'm pretty sure that's what the "dynamic resource proxy" cab does. I don't have my TP2 with me at the moment or I'd test to confirm.
jamesb457 said:
..
Im sure on winmo 6.1 there was a slider you could adjust how much memory is allocated to storage and how much to programs. did I imagine this or how do i find it now?
..
Click to expand...
Click to collapse
I'm afraid you are showing your age, so far as I know that slider hasn't been used since before WM5. With WM5 they went to using NVRAM for storage (flash memory if you prefer). Prior to that all WM used RAM for storage - which meant they could not be turned off without clearing everything! But in those versions (I remember WM2003 in particular), you could allocate where the ram was used - storage or programs.
I often think that in some ways those older OS were faster. I remember my XDA mini working very fast. When MS switched to non volatile storage, I think they lost a bit of speed - flash is not as fast as RAM. Of course they gained the fact that you don't have to worry about turning off the power and losing your files!

Categories

Resources