Is my program doing GC?
Is it doing GC?
Is it doing GC?
The program does not do the garbage collection. The GC is a infrastructure provided by the CLR. It appears that the Garbage Collection is being performed on your program since the free memory size is increasing.
Regards,
Vikram
But you will need a smaller test. 450MB will probably be unusable for the CLRProfiler,and for your users as well!
.
In fact my program does not cost so much memory(450MB), it just because the GC does not do the collection for me. In CLRProfiler, I can see that my program only cost about 200MB memory. The memory will not be collected even if I call GC.Collect(). Maybe there are some memory leakages in my program.
It may be internal code in Avalon that causes massive memory use, not your program logic. If it is in the unmanaged heap I think CLRProfiler does not show that? This may be the extra.
There is a histogram in the profiler which will tell you where the memory is going, and you can view it for any period of time. So look in the timeline view for a big triangle -- that is the peak of allocation. The select that area by dragging and look at the histogram view.
200MB is still a big whomper.