Hello,

Currently i am trying to exchange data with the server to my pocketpc.
On the pocketpc i am running windows ce 2003 with the compact framework
1.1. When i try to load the data into the memory of my program i receive
a "System.OutOfMemoryException" exception.

- How can i allocate more memory for my program? (in java you could
alwyas use: java -Xmx128m, so it would use 128 mb)
- How can i call the garbage collector, so more memory is freed?

Re: compact framework and OutOfMemory Exception by Daniel

Daniel
Thu Apr 28 04:57:20 CDT 2005

Please read this and come back with more questions if you have them:
http://www.danielmoth.com/Blog/2005/01/memory-problems-faq.html

Cheers
Daniel
--
http://www.danielmoth.com/Blog/


"Eduard Witteveen" <news@nerNOSPAMgens.org> wrote in message
news:4270b0de$0$80806$dbd45001@news.euronet.nl...
> Hello,
>
> Currently i am trying to exchange data with the server to my pocketpc. On
> the pocketpc i am running windows ce 2003 with the compact framework 1.1.
> When i try to load the data into the memory of my program i receive a
> "System.OutOfMemoryException" exception.
>
> - How can i allocate more memory for my program? (in java you could alwyas
> use: java -Xmx128m, so it would use 128 mb)
> - How can i call the garbage collector, so more memory is freed?