Problem with a webservice

  • Thread starter Thread starter Thomas
  • Start date Start date
T

Thomas

Hi newsgroup !

I've a problem while using a Web Service from an application written in
VB.NET on a Windows CE.NET 4.2 device.
My Web service has 2 methods :
- the first one which receives a Dataset (byval parameter)
- the second one which returns a Dataset
On a form, I create a Web service reference and i call the two functions of
the service, then I close the form.
The problem is that memory is not unallocated and each time, about 2MB is
allocated again.
I've tried to set my web service object to nothing, and to call GC.Collect()
in the closing event of the form.
I've also tried to create my web service reference only one time, to put it
as a global variable, on order to re-use it each time.
It doesn't change anything.

Can you help me ?

Thomas.
 
Can you post a sample project that demonstrates the problem?
So far nothing you describe is out of ordinary and the same design works for
me and many others without any memory leaks
 
Thanks, that's OK.
I've solved the problem, it was elsewhere...

Thomas.
 

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

Back
Top