OutOfMemory Exception - WebServices

G

Guest

Hello;

I'm developping a mobile application that, each 5 seconds, call a webservice
that do data synchronization(over a wireless network 802.11b). After about 20
hours running, the application raises the OutOfMemory exception. I isolate
the cause as the webservice call in the synchronization routine.
Do someone know any reason for this exception.

Thanks
 
D

Darren Shaffer

Danilo,

I believe some memory leaks with Web Services have been fixed in Compact
Framework SP2. Check
that you are running CFSP2. If you are on SP2, I'd look at your code for
any references you are
creating/recreating and perhaps not releasing between synchronization
events.

-Darren Shaffer
 
G

Guest

Darren;
First, thank you for your answer.
I've tried to run CFSP2 but the application fail to start. So, the
app is not running over it.
I read something that maybe can help me to make the necessary
corrections to run CFSP2 and I will try it now.
I will let you know if it works.
Thanks a lot.
Danilo
 

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