On 2008-04-15, DR <softwareengine er98037@yahoo.c omwrote:
Where are you seeing that? In the task manager? If so, then you are
looking in the wrong place. Let me tell you a little something about
windows memory management - just because memory is freed, does not mean
that the OS instantly removes it from your process.
You need to be looking at the performance counters for this - to find
out the actuall amount of memory your using....
--
Tom Shelton
GC.Collect() not cleaning memory, how to find out what references to lots of
memory still exist?
>
When all my processign is done i set everything to null and then:
GC.Collect()
and then
GC.WaitForPendi ngFinalizers()
but it still shows that my process takes 400 MB of memory. Is there any easy
way to see what references that I forgot to set to null so that the memory
cleas up on GC.Collect() ?
>
>
memory still exist?
>
When all my processign is done i set everything to null and then:
GC.Collect()
and then
GC.WaitForPendi ngFinalizers()
but it still shows that my process takes 400 MB of memory. Is there any easy
way to see what references that I forgot to set to null so that the memory
cleas up on GC.Collect() ?
>
>
looking in the wrong place. Let me tell you a little something about
windows memory management - just because memory is freed, does not mean
that the OS instantly removes it from your process.
You need to be looking at the performance counters for this - to find
out the actuall amount of memory your using....
--
Tom Shelton
Comment