U
Urs Vogel
Hi
When monitoring my application in the task manager (XP SP2), it shows up to
50MB of memory usage, very rarely reducing its size. When checking the
memory with GC.GetTotalMemory(false) prior to GC.Collect(GC.MaxGeneration),
it shows me some 10MB of memory usage, and after the GC.Collect, it shows me
some 2MB of memory usage. But this reduction is not reflected by the task
manager.
How should I interpret the memory consumption reported by the task manager,
or the values returned by GC.GetTotalMemory()?
Is GC-freed memory not freed for the system?
Thanks, Urs
When monitoring my application in the task manager (XP SP2), it shows up to
50MB of memory usage, very rarely reducing its size. When checking the
memory with GC.GetTotalMemory(false) prior to GC.Collect(GC.MaxGeneration),
it shows me some 10MB of memory usage, and after the GC.Collect, it shows me
some 2MB of memory usage. But this reduction is not reflected by the task
manager.
How should I interpret the memory consumption reported by the task manager,
or the values returned by GC.GetTotalMemory()?
Is GC-freed memory not freed for the system?
Thanks, Urs