GC.Collect() not cleaning memory, how to find out what references to lots of memory still exist?

Discussion in 'ASP .Net Mobile' started by DR, Apr 15, 2008.

  1. DR

    DR Guest

    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.WaitForPendingFinalizers();
    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() ?
     
    DR, Apr 15, 2008
    #1
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.