How to check the memory available on my PDA?

K

kshama.bafna

Hi,

I have a compact framework application (PDA based) which uses
MemoryStream class. While writing bytes to memory it throws OutOfMemory
Exception. Could anyone please tell me whether i can check for the
available memory on PDA and if it falls short i want to display error
message to the user?

Thanks,
Kshama
 
K

kshama.bafna

Hi Alex,

Thanks.
I checked the blog. What does the following statement in the code
imply?

memStatus.dwAvailPhys

Is it returning the available main memory size or is it the available
memory size of storage card?
I need to check the size of main memory of PDA. Could you please help
me with this?

Regards,
Kshama
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top