Re: How to learn amount of memory used by the process at the current t
- From: "Nick Malik [Microsoft]" <nickmalik@xxxxxxxxxxxxxxxxxx>
- Date: Sat, 2 Apr 2005 16:08:51 -0800
I realized that I hadn't answered your question. My apologies.
Check out the CLR Profiler
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/scalenethowto13.asp
--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik
Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"Alexey Smoliy" <Alexey Smoliy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4D4B838B-9717-4FED-8921-90DA4F55D644@xxxxxxxxxxxxxxxx
> Hi,
>
> I want to test .net class for memory leak presence. For this I want to
> know
> how much memory is used before creating and after deleting class instance.
> How can I do it? And could it help me find a memory leak in general? I
> know
> about profilers, but I want to test a class automatically, may be using
> .net
> profiler api. And there are also helpful GC functions like
> GC.GetTotalMemory,
> GC.Collect, GC.WaitForPendingFinalizers. But I cann't think up something
> that
> will work correct. Could you help me?
>
> Thanks,
> Alexey.
.
- Prev by Date: Re: How to learn amount of memory used by the process at the current t
- Next by Date: Re: How to Prevent reverse engineering .NET
- Previous by thread: Re: How to learn amount of memory used by the process at the current t
- Next by thread: Inherit HttpWebRequest
- Index(es):
Relevant Pages
|