Re: Tracking a memory leak.
- From: "Nicholas Paldino [.NET/C# MVP]" <mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 11 May 2007 22:29:31 -0400
Frank,
You should be looking at the performance counters here to see what the
memory consumption of .NET is. You should look at the ".NET CLR Memory"
category.
--
- Nicholas Paldino [.NET/C# MVP]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx
"Frank Rizzo" <none@xxxxxxxx> wrote in message
news:OPTBaFDlHHA.3280@xxxxxxxxxxxxxxxxxxxxxxx
I have an object tree that is pretty gigantic and it holds about 100mb of
data. When I set the top object to null, I expect that the .NET framework
will clean up the memory at some point. However, I am looking at the Task
Manager and I don't see the MemUsage column decreasing even after an hour
or two. I know that TaskManager may not be the best place to see what is
the true way to gauge memory usage and/or presense of memory leaks. So I
am looking for a pointer on what I should use to see whether setting an
object to null really will at some point free up memory.
Regards
.
- References:
- Tracking a memory leak.
- From: Frank Rizzo
- Tracking a memory leak.
- Prev by Date: Re: Please give me a moment - How Employable am I?
- Next by Date: Re: forms looks different on different platform; limited things can change in OS theme
- Previous by thread: Tracking a memory leak.
- Next by thread: Re: Tracking a memory leak.
- Index(es):
Relevant Pages
|