Strange .NET garbage collector problem

Discussion in 'ASP .Net Building Controls' started by shiretu, Jan 10, 2006.

  1. shiretu

    shiretu Guest

    Hi,

    I have a standalone application that reads ~40.000 rows from a database
    and put them in a ListView control. After reading the data, my app
    allocated ~300 MB memory. And stays this way even after a long period
    of time!!! Now, if a minimize the app, the used memory drops to 1 or 2
    MB. Maximize the app and it will eat up to 4 MB. The app works
    PERFECTLY with or without the 300MB of memory allocated with all the
    data scrollable and visible. Why is that?

    The method used to populate the list is VERY SIMPLE: read the data from
    the resultset one by one and put it in the list in a while loop.
    shiretu, Jan 10, 2006
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rob Tillie

    Garbage Collector Debugging

    Rob Tillie, Aug 15, 2003, in forum: ASP .Net
    Replies:
    11
    Views:
    1,737
    JerryK
    Aug 18, 2003
  2. Pyramis
    Replies:
    0
    Views:
    386
    Pyramis
    Jan 25, 2004
  3. Colt

    Garbage collector problem

    Colt, Nov 15, 2003, in forum: Java
    Replies:
    9
    Views:
    666
    Tim Ward
    Nov 18, 2003
  4. bart59
    Replies:
    0
    Views:
    489
    bart59
    Jun 17, 2004
  5. John Smith

    Garbage collector in .Net?

    John Smith, Mar 27, 2008, in forum: ASP .Net
    Replies:
    2
    Views:
    356
Loading...

Share This Page