Related
Where I can see the Paging Pool Size in WM5 ???
AFAIK, nowhere... Just using special diag tools from M$, available only to WM5 developers.
also is not possible to see my actuelly pool size..?
rodigezstyle said:
where i can download this tool ?
Click to expand...
Click to collapse
No idea. If you find it - let us know. AFAIK, it is a part of MS SDK for WM5 and not available for free download.
u can calculate Paging Pool Size
Paging Pool used Program memory
by default Paging Pool is 12 mb and Program memory size 44 mb
if u use 16 mb pool, program memory is 40 mb
FenechkA said:
u can calculate Paging Pool Size
Paging Pool used Program memory
by default Paging Pool is 12 mb and Program memory size 44 mb
if u use 16 mb pool, program memory is 40 mb
Click to expand...
Click to collapse
year right... thank you i have 40.03 MB Memory also 16 MB Poolsize
you know the exactly differents from 12 to 16 MB pool for the PDA???
is 16 MB Faster,better or is it the same..
I would like to try out which application eats the RAM in my PDA. So I would need some malloc (memory allocation) debugger. Do it exist such a kind malloc debugger for WM6?
Thanks in advance!
if you don't get hold of the source code of the applications in question, no debugger would help, let alone malloc.
try acbtaskman instead.
Thank you. I will try it.
Independently from that, I thought a sollution which replaces the malloc/free with a debugged one on the operation system side.
I was interested in this subject a while back. As I am a mere "user"
(maybe "power user" lol) as opposed to a "developer" or similar,
I didn't investigate too much; in the end I just changed my device
Anyway... Found some links to stuff,
though as my level of comprehension on subjects such as these is poor to say the least...
this could all be useless for this issue on WM6,
in fact I am aware that I could be barking up entirely the wrong tree...
just putting it out there in case someone finds it useful ...
CODESNITCH
Use CodeSnitch to detect common runtime errors such as memory leaks, heap corruption, and API failures
Click to expand...
Click to collapse
http://www.entrek.com/products.htm#CodeSnitch
APPVERIFIER
AppVerifier is Microsoft's official tool for finding the source of a heap leak....It records a callstack for each heap allocation, discarding data about allocations that are freed. So in the end you can look to see which allocations were not freed, and get callstacks to identify them.
Click to expand...
Click to collapse
http://www.microsoft.com/downloads/...8a-d937-4d88-ae25-28702c78748d&displaylang=en
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnce50/html/appverifier_wince.asp
http://blogs.msdn.com/hopperx/archi...ion-verifier-on-drivers-windows-mobile-6.aspx
REMOTE HEAP WALKER
...Heap identifiers and flags for each process running on a target device....
System memory that a process uses. The tool can help you to determine whether an application is releasing the memory it allocates.
Click to expand...
Click to collapse
http://msdn2.microsoft.com/en-us/library/ms894573.aspx
some of the above linked from here
A Tour of Windows CE Memory Tools
Click to expand...
Click to collapse
http://blogs.msdn.com/ce_base/archive/2006/01/11/511883.aspx
and here
Who's Using My RAM?
Click to expand...
Click to collapse
http://blogs.msdn.com/windowsmobile/archive/2005/11/29/498154.aspx
I made some measurements. As you can see, the "i do not know who is using this memory" is directly after reboot and after 1 day using the same ca. 10 MB. This is the first secret for me. Who is using and for what this 10 MB? The second interresting thing is, that after 1 day using the op system uses 5 MB more then after the reboot.
So I think, that the statemen, that mostly the installed extra softwares causes the big memory lost is simply not true. It seems, that the op system self is a memory leak....
MEM status directly after reboot:
Total: 48.97 MB
In use: 26.80 MB
Free: 22.17 MB
filesys.exe 5172 KB
device.exe 3632 KB
gwes.exe 3204 KB
shell32.exe 1480 KB
cprog.exe 1280 KB
services.exe 400 KB
connmgr.exe 224 KB
Summary: 15392 KB -> 15.03 MB
All other running applications uses ca. 1.50 MB
Lost mem: 26.80 MB - 15.03 MB - 1.50 MB => 10.27 MB
MEM status after 1 day using:
Total: 48.97 MB
In use: 32.31 MB
Free: 16.66 MB
filesys.exe 6652 KB
gwes.exe 4500 KB
device.exe 4328 KB
shell32.exe 1744 KB
Phone (cprog.exe) 1536 KB
services.exe 632 KB
ActiveSync (repllog.exe) 500 KB
tmail.exe 340 KB
connmgr.exe 288 KB
Summary: 20520 KB -> 20.04 MB
All other running applications uses ca. 1.50 MB
Lost mem: 32.31 MB - 20.04 MB - 1.50 MB => 10.77 MB
yeah somewhere on the msdn blog (my last link)...
I think the microsoft guy concedes that this may be the case.
(talking about WM5, admittedly, but still...similar CE base AFAIK, amirite?)
He advises one guy,
(who is working in a pharmacy and using his PPC for health/safety critical tasks)
to use his self-built program to reboot the device "nightly" to free up memory...bit of a kludge, innit?
/proc/meminfo on my G1 shows total memory as 99040KB. I thought the G1 had 192MB of SDRAM. Clearly I must be missing something here. The free command shows the same as well.
Good question... with that said where is our ROM at too? I don't see 256MB of ROM... by my calculations I am missing about 50MB but I could be wrong.
neoobs said:
Good question... with that said where is our ROM at too? I don't see 256MB of ROM... by my calculations I am missing about 50MB but I could be wrong.
Click to expand...
Click to collapse
The fact that they advertised it has having 256MB of ROM seems strange to me, since the internal memory that comes closest to that (268,400KB - when adding up the total sizes of the /dev /sqlite_stmt_journals /system /data and /cache partitions - is actually 262MB) is definitely not Read-Only-Memory. And it wouldn't appear to be 256MB, unless that /sqlite_stmt_journals is a subdivision of another partition like the /system/modules and /system/xbin (which I obviously left out of my calculations), that would bring it down to 264,304KB or 258MB - pretty close.
But that is still not ROM, so I don't know what they were getting at with that.. Unless I missed a memo and ROM doesn't just mean Read-Only-Memory any more...
I was confused about the use of "ROM" too. Apparently, it's just to differentiate between memory and storage. The /data partition is definitely not read-only.
techvd said:
/proc/meminfo on my G1 shows total memory as 99040KB. I thought the G1 had 192MB of SDRAM. Clearly I must be missing something here. The free command shows the same as well.
Click to expand...
Click to collapse
I think that the rest of the memory is reserver for the framebuffer and video textures etc.
The question was already answered by Hackborn on the mailing list.
https://groups.google.com/group/android-platform/browse_thread/thread/adb2fa9946275b73
i dont think that thread responds to "where the hell are the 100 MB remaining"
i dont believe "radio firmware" + "graphic framebuffers for shadows" + "etc" is eating 100 Mb of memory. I dont believe and in that forum they dont explain the numbers.
windows XP, with 800x600 x 65.000 colors, is able to run with just 64 Mb of ram, and only 200 Mhz. That would give as 120 Mb Free. to run games like diablo 2, baldur's gate (i played baldur's gate with my pentium mmx 200mhz)
This phone is superior than my Pentium 200mhz who had 64 ram. why this phone cant do the same with 3x times memory x 3x times cpu?
Why windows Xp (a real operating system) is running with a lot less resources than android ??? where is our 192 Mb of ram??
a 200mhz Pentium >>>> 384 mhz ARM processor
*) first of all, a pentium is faster than the arm we use, especially for things like gaming.
a PC is optimized for performance, an embedded architecture is optimzied for efficiency (especially regarding power consumption)
*) your PC has a graphiccard that has its own memory.
*) android = linux = real OS.
why do these rants always pop up whenever embedded systems are discussed.
it was the same with the gp2x / pandora scene, the same in every windows mobile forum, etc.
people, get a clue. attend a course about systems architecture or read a book or two...
Take a look here: http://forum.xda-developers.com/showthread.php?t=482228
Same discussion
you saw i called windows xp a real os and you started freaking out, lol !
*) cpu is 528 Mhz clocked down to 384 (google says: to conserve battery!!!!) , so they stole us speed and memory. Performance vs eficiency? i dont buy it. Its all the same running the same kernel.
*) my graphic card sucked balls, old ati radeon 128 with 16mb ram. So, 16 mb doesnt mean a **** in the middle of the 100MB we are missing.
*) android = java = resources devour, when i discover android = java i was disapointed, the real operating system running on my phone is the good kernel+debian armel which i had to host in memory card instead of internal memory because lately google is acting like microsoft. and im starting to think android will be as ****y as windows is.
yea i readed a pair of books and i know how to count, where is my Mhz and where is my Memory?
greetings
Hello,
I've built a ROM and I have not so much memory available just after booting:
Storage : 39 free of 44 MB
Program: 10 free of 43 MB
How to increase at lease program memory in order to get more RAM for programs?
Why do I see only 43 MB of program memory as some ROMs show more?
StefanSki said:
Hello,
I've built a ROM and I have not so much memory available just after booting:
Storage : 39 free of 44 MB
Program: 10 free of 43 MB
How to increase at lease program memory in order to get more RAM for programs?
Why do I see only 43 MB of program memory as some ROMs show more?
Click to expand...
Click to collapse
You've been a member since 2007. Most people would figure that you should know the rules by now. STOP POSTING in the WRONG FORUM.
The size of the ROM space depends on what the cook puts in the ROM. The less stuff, the more space.
hey fellow XDA WM devs and users and forum people,
Greetings,
so I am asking whether not WM devices are capped on using 25+mb of RAM for each app...
If so, can I assume that this is the reason why we cannot have stunning graphic games just like the other compatitor platforms (iOS, Android) ??
also, a reply tweet from one of my favourite game dev:
http://twitter.com/Isotope244/status/16152606483
any comments or answers are greatly apprerciated
Kind Regards
Processes in winmo can only access 32 mb of virtual memory (with a max of 32 processes). There's normally at least 7 mb or so of memory allocated to dll's for all processes (sometimes more). 32-7=25 mb. I think that's what the developer is talking about. This is changing with WP7, where all process will have full access to 1 GB of virtual memory (limited by the amount of availabe RAM).
Farmer Ted said:
Processes in winmo can only access 32 mb of virtual memory (with a max of 32 processes). There's normally at least 7 mb or so of memory allocated to dll's for all processes (sometimes more). 32-7=25 mb. I think that's what the developer is talking about. This is changing with WP7, where all process will have full access to 1 GB of virtual memory (limited by the amount of availabe RAM).
Click to expand...
Click to collapse
thanks farmer tad for your reply....
now its all clear to me
thanks.
(oh lol... then what's thhe point of phones having all those extra RAM while the OS cannot use them, at all?)