Intermec Home

How to Buy | Partner Login


Developers Forum

Reply
Intermec Expert
hjgode
Posts: 2,233
Registered: ‎January 29 2009

Slaying the 'virtual' memory monster

[ Edited ]

I always see, that many windows mobile programmers are not aware of memory limitations on limitted resources on windows ce 4.2 and 5 based devices.

 

Although Darren published a doc with many links but no information, here is a link to a very good (and old) article about memory in windows ce devices: http://blogs.msdn.com/b/hegenderfer/archive/2007/10/01/slaying-the-virtual-memory-monster-part-ii.as...

 

Do not miss the first article on that http://blogs.msdn.com/b/hegenderfer/archive/2007/08/31/slaying-the-virtual-memory-monster.aspx

 

And a great artcle at codeproject: http://www.codeproject.com/Articles/32297/Visualizing-the-Windows-Mobile-Virtual-Memory-Mons

 

Here a screen of the app at codeproject:

 

Regardless of how much program memory is left, NO process will get more than the what is free in the process's 32MB slot.

 

It would be nice if a moderator would pin this message.

 

Edit: Added some articles on profiling and memory usage of CF:

http://blogs.msdn.com/b/stevenpr/archive/tags/diagnostics/

 

Thanks

 

Josef

.....................Don't be lazy, give KUDOS........................
-------------==========================--------------
See all my tips and tools at hxxp://www.hjgode.de/dev
and the NEW http://www.hjgode.de/wp
code at google com:
http://code.google.com/p/itc-keyboard/
http://code.google.com/p/rdesktop-ce/
http://code.google.com/p/win-mobile-code/source/browse/#svn%2Ftrunk
Intermec Expert
hjgode
Posts: 2,233
Registered: ‎January 29 2009

Re: Slaying the 'virtual' memory monster

[ Edited ]

Hi

 

as the board only allows 5 attachements, here is the continued list of good-to-now memory related CE articles:

 

http://msdn.microsoft.com/en-us/library/aa454885.aspx

 

 

http://www.eceblogger.com/2008/09/windows-ce-virtual-memory-management-its-influence-on-project54/

 


Memory leak...now what?

http://blogs.msdn.com/b/raffael/archive/2008/02/21/netcf-memory-leak-now-what.aspx

 

http://blogs.msdn.com/b/raffael/archive/2009/11/16/basics-on-windows-ce-mobile-an-alternative-way-to...

 

The attached docs are just in case the URLs change or the sites go down (BTW: do you know web.archive.org?)

.....................Don't be lazy, give KUDOS........................
-------------==========================--------------
See all my tips and tools at hxxp://www.hjgode.de/dev
and the NEW http://www.hjgode.de/wp
code at google com:
http://code.google.com/p/itc-keyboard/
http://code.google.com/p/rdesktop-ce/
http://code.google.com/p/win-mobile-code/source/browse/#svn%2Ftrunk
Intermec Expert
hjgode
Posts: 2,233
Registered: ‎January 29 2009

Re: Slaying the 'virtual' memory monster

There are even more great sources about memory in Windows CE:

 

How to save mem in CF

http://robtiffany.com/memmaker-for-the-net-compact-framework/

.....................Don't be lazy, give KUDOS........................
-------------==========================--------------
See all my tips and tools at hxxp://www.hjgode.de/dev
and the NEW http://www.hjgode.de/wp
code at google com:
http://code.google.com/p/itc-keyboard/
http://code.google.com/p/rdesktop-ce/
http://code.google.com/p/win-mobile-code/source/browse/#svn%2Ftrunk
Administrator
DanO
Posts: 191
Registered: ‎January 27 2009
0

Re: Slaying the 'virtual' memory monster

Hey Josef - excellent collection of information there, especially considering that's one of the biggest headaches for new (and often not so new) mobile developers - thanks!

 

DanO

Dan Ockenfels
Community Manager
Intermec Developer Support
Regular Contributor
Arkanian
Posts: 80
Registered: ‎February 12 2009
0

Re: Slaying the 'virtual' memory monster

Thanks for putting all of this in 1 article.