G
Guest
Hello -
I've developed an application which uses DataSets which are local to
specific methods - so they should go out of scope when the form they are on
is closed. I am finding that while monitoring the memory usage through task
manager, the memory will increase while the dataset is filled, but memory is
never released when the form is closed. Even when using the Dispose() method
of the DataSet, as well as explicitly calling GC.Collect() and
GC.WaitForPendingFinalizers(). After searching the web for hourse, I cannot
find anyone who can solve this problem. Does anyone know how to fix this?
Thanks,
-Peter
I've developed an application which uses DataSets which are local to
specific methods - so they should go out of scope when the form they are on
is closed. I am finding that while monitoring the memory usage through task
manager, the memory will increase while the dataset is filled, but memory is
never released when the form is closed. Even when using the Dispose() method
of the DataSet, as well as explicitly calling GC.Collect() and
GC.WaitForPendingFinalizers(). After searching the web for hourse, I cannot
find anyone who can solve this problem. Does anyone know how to fix this?
Thanks,
-Peter