Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > Strange .NET garbage collector problem

Reply
Thread Tools

Strange .NET garbage collector problem

 
 
shiretu
Guest
Posts: n/a
 
      01-10-2006
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.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
JNI problem with Garbage Collector ? bart59 Java 0 06-17-2004 07:34 AM
OutOfMemoryException Error: Garbage Collector doesn't release memory to OS Pyramis ASP .Net 0 01-25-2004 04:37 PM
DVD Verdict reviews: ALIEN: COLLECTOR'S EDITION, ALIEN3: COLLECTOR'S EDITION, and more! DVD Verdict DVD Video 0 12-15-2003 10:05 AM
Garbage collector problem Colt Java 9 11-18-2003 01:15 PM
Garbage Collector Debugging Rob Tillie ASP .Net 11 08-18-2003 10:39 PM



Advertisments