Hi,

I have a memory leak in my windows service. The service is running a
few threads asynchronously and I wait for the end of all threads using
WaitHandle.WaitAll  and an array of ManualResetEvent.

If I run the program in console mode, there's no issue, the memory is
released. If I run it as a Windows service, then overnight I've
reached 1.5 Gb of memory usage....

It's strange because in all of my functions I've used a try catch
finally block and I always free the memory in finally.

Does anyone can think of reason why the memory leak occurs only in the
Windows service ?

Thanks

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web 
Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/DotNetDevelopment

You may subscribe to group Feeds using a RSS Feed Reader to stay upto date 
using following url  

<a href="http://feeds.feedburner.com/DotNetDevelopment";> 
http://feeds.feedburner.com/DotNetDevelopment</a>
-~----------~----~----~----~------~----~------~--~---

Reply via email to