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
 
Back
Top