On WindowsMobile, how can i tell what other processes are reserving shared memory space?

Posted by glutz78 on Stack Overflow See other posts from Stack Overflow or by glutz78
Published on 2010-03-21T16:01:21Z Indexed on 2010/03/21 22:51 UTC
Read the original article Hit count: 357

On WindowMobile 6.1, I am using VirtualAlloc to reserve 2MB chunks, which will return me an address from the large shared memory area so allocations do not count against my per process virtual space.

(doc here: http://msdn.microsoft.com/en-us/library/aa908768.aspx)

However, on some devices i notice that I am not able to reserve memory after a certain point. VirtualAlloc will return NULL (getlasterror() says out of memory). The only explanation for this that I see is that another process has already reserved a bunch of memory and my process is therefore unable to.

Any idea where I can find a tool to show me the shared mem region of a WM device?

Thanks.

© Stack Overflow or respective owner

Related posts about memory-management

Related posts about windows-mobile