Re: GC Roots? How to iterate long-lived objects?
- From: "JohnA" <john.asbeck@xxxxxxxxx>
- Date: 20 Dec 2005 14:42:46 -0800
Mark,
Take a look at the profiler from Sci-Tech AB [http://www.scitech.se]
When you take a snapshot of your application the profiler will do a
full GC and display the remaining objects. You can also take multiple
snapshots and do a before and after comparison.
- John
MarkR wrote:
> Hi, all:
>
> I have a C# application that slows down over time, and and I'm trying to
> figure out what the causes might be. One suspect is long-lived objects --
> is there a good way to generate the object graph the garbage collector uses,
> so I can see which objects remain uncollectable? I expected to see a
> feature like this in the CLR Profiler, but I've not been able to located it.
> Do I need to build it myself using reflection?
>
> Also, there is a commercial profiler that has a button to trigger a GC
> externally; is there a freeware to duplicate this functionality? I know that
> GC.Collect() is a) frowned upon and b) only a suggestion to the CLR -- any
> other tricks?
>
> Thank you for any help,
> /m
.
- References:
- GC Roots? How to iterate long-lived objects?
- From: MarkR
- GC Roots? How to iterate long-lived objects?
- Prev by Date: Re: ASP.NET OutOfMemoryException
- Next by Date: Re: Memory Usage - Return Type
- Previous by thread: GC Roots? How to iterate long-lived objects?
- Next by thread: Re: GC Roots? How to iterate long-lived objects?
- Index(es):
Relevant Pages
|