GC.Collect can be trusted?
- From: Ward Bekker <wDotbekker@RemoveThisequanimityDotnl>
- Date: Thu, 19 Apr 2007 12:37:05 +0200
Hi,
I'm wondering if the GC.Collect method really collects all objects possible objects? Or is this still a "smart" process sometimes keeping objects alive even if they can be garbage collected?
I need to know because I'm looking for memory leaks in an application.
It would be really helpful to be able to determine if an object after manually invoking the GC.Collect is only kept alive because it still being referenced by other alive objects in contrast to being alive because the GC.Collect didn't found it necessary to collect the object, even when asked explicitly.
Regards,
Ward
.
- Follow-Ups:
- Re: GC.Collect can be trusted?
- From: Ward Bekker
- Re: GC.Collect can be trusted?
- From: Christopher Ireland
- Re: GC.Collect can be trusted?
- From: DeveloperX
- Re: GC.Collect can be trusted?
- Prev by Date: Interop - returning a buffer through callback
- Next by Date: Re: GC.Collect can be trusted?
- Previous by thread: Interop - returning a buffer through callback
- Next by thread: Re: GC.Collect can be trusted?
- Index(es):