Memory usage of SourceGrid

Mar 9, 2010 at 5: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?

Coordinator
Mar 10, 2010 at 7:32 AM

Redim or RemoveRange should be enough to free the memory.

 

Are you actually experiencing memory consumption problems?

Mar 10, 2010 at 4: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.

Coordinator
Mar 15, 2010 at 11:26 AM

Ok.