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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top