Q: Why do you want to do it yourself?

A: One customer noticed service process had a large number of pages in
use and worried about a memory leak.


Sincerely,

Tracy Ding
 

-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Patrick Steele
Sent: Wednesday, September 05, 2007 9:40 AM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] l immediately release any unneeded memory

No.  The garbage collector handles that for you.  If you're utilizing
unmanaged resources (files handles, windows handles, etc...), implement
the IDisposable interface to make sure you release the resources.

Why do you want to do it yourself?

---
Patrick Steele
http://weblogs.asp.net/psteele


-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Tracy Ding
Sent: Wednesday, September 05, 2007 12:35 PM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: [ADVANCED-DOTNET] l immediately release any unneeded memory


Is there some sort of .NET call that will immediately release any
unneeded memory for service process?

===================================
This list is hosted by DevelopMentor(r)  http://www.develop.com

View archives and manage your subscription(s) at
http://discuss.develop.com

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to