calculate memory utlisation

P

Peter Duniho

anjali said:
How to calculate the memory utilised for allocation of objects in C#?. Can u help me with the code

You can use a memory profiler. I hear the Red Gate one is good.

There's not really a practical way I know of to track memory used
per-object from within your own code. There are performance counters
you can read to give you a rough idea of memory usage, but it's not
going to be a very fine-grained analysis.

Pete
 

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