Re: Garbage Collection Issues in long-standing services
- From: Andreas Mueller <me@xxxxxxxxxxx>
- Date: Thu, 22 Dec 2005 00:27:47 +0100
Willy Denoyette [MVP] wrote:
Did you ever checked the GC performance counters (using perfmon) to check whether this is true? The GC is more aggressive than you imagine.
Just check the Gen0 1 and 2 performance counters and you will see that the collector runs, your problem is that you are holding references to objects (probably large objects) which you never release, so there is little or nothing to collect.
By starting another process that allocates memory, your service working set gets trimmed by the OS, that all that happens.
Willy.
Could also be some large objects that are on the Large object Heap that is not getting compacted. I found this article a good starting point: http://tinyurl.com/3e9n3
HTH,
Andy
-- To email me directly, please remove the *NO*SPAM* parts below: *NO*SPAM*xmen40@*NO*SPAM*gmx.net .
- References:
- Re: Garbage Collection Issues in long-standing services
- From: Willy Denoyette [MVP]
- Re: Garbage Collection Issues in long-standing services
- Prev by Date: private new void
- Next by Date: Re: Garbage Collection Issues in long-standing services
- Previous by thread: Re: Garbage Collection Issues in long-standing services
- Next by thread: Re: Garbage Collection Issues in long-standing services
- Index(es):
Loading