My application is running out of memory. It runs on an MC70.
It happens when I pull a lot of data down from a Web Service. I know I have a lot of data in memory, but I am wondering if there are any tricks of the trade when dealing with this kind of thing.
Here is my scenario, I have a soap service that gets activity data, including images (stored in blobs on the server). Sometimes this is a lot of data and sometimes it is very little.
The out of memory exception happens when it is a ton of data.
Are there any tricks to dealing with out of memory exceptions with Windows Mobile?
Note: I am in the process of moving this app to Windows Mobile 6.5 and the MC75. If there is a feature of 6.5 that could help with this then that would work too.