garbage collection

G

Guest

what is the best performance monitor for me to add to check for the memory being used by my asp.net app

----- Jeremy wrote: ----
(via taskmgr) I see it start at around 30K and will grow to around 140k

Task Manager is not an exact way of monitering memory usage, if you watch i
for other programs under NT/2K/XP, you will see that much more memory i
allocated than is actually being used. You may want to consider usin
performance counters and the app test center

the heap is full

Yes, see the .NET docs on garbage collection for a complete explaination o
how the GC grows, collects, and populates generations

Garbage Collector basics & performance
http://msdn.microsoft.com/library/en-us/dndotnet/html/dotnetgcbasics.asp?frame=tru

Programming the Garbage Collector
http://msdn.microsoft.com/library/e...nprogrammingessentialsforgarbagecollection.as



Not likely. But no one could say for sure with out seeing the code

pounding all the pages the memory only went up about 6k over the 2 hou
period
gc. Is there something similar in .net

Not that I know of. I did a search on google and MSDN, but found nothin
(althought, it was a short search)


Jerem





Print | Copy URL of this post



Expand All Collapse All
 
M

Marshal Antony

Hi Jeremy,
You can open up the Windows Performance Monitor and monitor the memory
being used.
However .NET framework contains System.Diagnostics namespace that can be
used for accessing performance counters,event log etc.

Hope this helps.
Regards,
Marshal Antony
..NET Developer
http://www.dotnetmarshal.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top