Groups | Blog | Home
all groups > dotnet compact framework > november 2004 >

dotnet compact framework : OutOfMemory Exception - WebServices


Danilo Cardoso
11/30/2004 8:47:10 AM
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.

Danilo Cardoso
11/30/2004 9:17:02 AM
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

[quoted text, click to view]
Darren Shaffer
11/30/2004 9:53:00 AM
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

[quoted text, click to view]

AddThis Social Bookmark Button