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.
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?
I have used the pocket pc for a year but still I cant answer this question that was thrown to me just now...
" how many applications can we put in our wizard?" I have looked in the net but no answer was found mybe here I can find the answer
due to the rise of wm6.1 usual capacity of programs is 27 - 29 and storage is around 40 to 44
with this setup how many applications can we put
please answer me I am in the loo here... or is there no one else has put it in to the test too?
Is that really a serious question?
It just depends on the size of the apps...
Do you ever wonder how many animals you can put in your car? Not even a whale, but millions of ants...
here's the math
number of apps = storage space available / average space required by one app
(average space required by one app = sum of total space taken by all the apps / number of apps)
The spec for this device states 512MB ROM and 288MB RAM but how much is available after a hard reset?
So to answer my own question and for any others who might be interested:
Storage (ROM), total 322MB, free 275MB, Program (RAM) total 201MB, free 141MB (without tf3d, including tf3d adds about 10MB)
These figures are from a device after having been turned on for the very first time.
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?)