Are you actually running out of memory or just watching the memory usage?
If you're not seeing a problem don't worry about it. If you don't tell the
GC how to do its job, it won't tell you how to do yours.
--
Chris Tacke
Co-founder
OpenNETCF.org
Has OpenNETCF helped you? Consider donating to support us!
http://www.opennetcf.org/donate
"Simone" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Problem:
>
> If a datatable has 100 rows and use 1 MB of memory and then i use the
> Clear() method and then
> i refill the datatable with 10 rows. The memory usage of the DataTable is
> still 1MB?
> The Clear method frees memory usage of the datatable?
>
> If i want to free the memory usage of the Datatable, i must destroy the
> DataTable and wait for the GC to collect that?
>
> By Simon.
>
>