GC.Collect behavior?

  • Thread starter Thread starter Tomer
  • Start date Start date
T

Tomer

Hi,

I'm running an application that uses alot of memory, I manually use the
GC.Collect method and see no change with the memory.
When the memory reaches 99% it the drops to +/-90%.

Any reason why?

Tomer.
 
Hi Tomer,

I've read warnings about directly using the garbage collector, though I
cannot remember exactly where.

I've run into similar memory problems with my cf application and discovered
some objects that are not disposed of correctly even if the dispose method is
called. You could check to see if something similar is happening to you.
Once I cleaned up these objects, my memory problems were resolved.

Hope it helps and good luck!
Paula
 
Back
Top