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

Can you define 'large'? in such a case I would take a memory dump and
look to see what is actually going on with SOS.

It is quite possible that the GC sees lots of free memory so its not
being aggressive.

Does the application slowly gain memory over time? Is it consistent?

Cheers,

Greg


On 9/5/07, Tracy Ding <[EMAIL PROTECTED]> wrote:
> 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(r)  http://www.develop.com
>
> View archives and manage your subscription(s) at http://discuss.develop.com
>


--
Studying for the Turing test

===================================
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