This project is read-only.

Memory usage of SourceGrid

Mar 9, 2010 at 6:13 PM

I have several grids on a form, that I "load" and "unload" with text and images.
I remove all the rows except the header either with ReDim or RemoveRange before inserting new rows.
Is there a need to do it  in some other way or do I  perhaps need to do something more,
to assure that all the reserved memory is released?

Mar 10, 2010 at 8:32 AM

Redim or RemoveRange should be enough to free the memory.

 

Are you actually experiencing memory consumption problems?

Mar 10, 2010 at 5:48 PM

Thanks again for the quick answer. To your question: No, I'm just newbie with .net, so dispose, garbage collection and stuff are all things I'm still getting use to :-)
Been using vb6 for years.

Mar 15, 2010 at 12:26 PM

Ok.