High memory usage

  • Thread starter Thread starter Philip Carnstam
  • Start date Start date
You can use a memory profiler, like the Scitech .Net Memory Profiler
(www.scitech.se). There are others too. With such a tool, you can see what's
still hanging around and what's referencing it. You could also try throwing
a few GC.Collect calls into your code to see if they actually change
anything. If they do, it seems that the GC is not running fast enough... if
they don't, it seems that your objects are not ready to be collected.

BTW, you can also use the performance monitor to watch the frequency and
activity of GC behaviour...

Niall
 

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

Back
Top