Re: GC performance - GC fragility
- From: Jolyon Smith <jsmith@xxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 1 Feb 2008 09:13:01 +1300
In article <47a1d3ba$1@xxxxxxxxxxxxxxxxxxxxxx>, Craig Stuntz [TeamB]
says...
There exist tools for finding memory leaks and alike in unmanaged
code, but how to write according tools for managed code, without
detailed and really reliable information about the managing code?
http://msdn2.microsoft.com/en-us/library/ms979205.aspx
That may help but not as much as the equivalent tools for non-GC
investigations.
Note in the documentation the emphasis on "may" and "possibly" - sure
you can profile your application and see that it is a stinking memory
hog, but that doesn't actually tell you anything about whether that is
because you have memory leaks or just a badly designed program that
(presumably because the developers aren't thinking about memory
management) is just, well, a stinking memory hog.
In a non-GC app a memory leak is a memory leak and an error that can be
identified and fixed.
In GC, a memory leak is virtually indistinguishable from a badly
designed application. "Fixing" it might involve taking the entire
application apart and putting it back together again in an entirely
different way.
--
JS
TWorld.Create.Free;
.
- Follow-Ups:
- Re: GC performance - GC fragility
- From: Andre Kaufmann
- Re: GC performance - GC fragility
- From: Craig Stuntz [TeamB]
- Re: GC performance - GC fragility
- References:
- GC performance - GC fragility
- From: Eric Grange
- Re: GC performance - GC fragility
- From: Steve Thackery
- Re: GC performance - GC fragility
- From: Jolyon Smith
- Re: GC performance - GC fragility
- From: Bob Dawson
- Re: GC performance - GC fragility
- From: Jolyon Smith
- Re: GC performance - GC fragility
- From: Bob Dawson
- Re: GC performance - GC fragility
- From: Jolyon Smith
- Re: GC performance - GC fragility
- From: Bob Dawson
- Re: GC performance - GC fragility
- From: Jolyon Smith
- Re: GC performance - GC fragility
- From: Bob Dawson
- Re: GC performance - GC fragility
- From: Jolyon Smith
- Re: GC performance - GC fragility
- From: Bob Dawson
- Re: GC performance - GC fragility
- From: Jolyon Smith
- Re: GC performance - GC fragility
- From: Hans-Peter Diettrich
- Re: GC performance - GC fragility
- From: Craig Stuntz [TeamB]
- GC performance - GC fragility
- Prev by Date: Re: Where's Nick? Did I miss something?
- Next by Date: Re: Compulsive use of With
- Previous by thread: Re: GC performance - GC fragility
- Next by thread: Re: GC performance - GC fragility
- Index(es):
Relevant Pages
|