R
Ryan Miller
I have a temporary dataset that I can't seem to throw away. I've tried clear
and dispose, but the GC never seems to reclaim the memory.
I have a windows form with a DataGrid on it with datasource set to this
temporary dataset. I have buttons that fill the dataset, manipulate it, and
clear it. It all works, but like I said, the GC doesn't reclaim the memory.
On repeated fill/manipulate/clear events the program memory just keeps
climbing. I know GC runs because it will climb by say 2 MB and then drop by
about 2k after the clear.
Why can't I get the memory footprint to drop down to around the initial
position before the first fill?
Anybody have a good method for tracking these memory leaks?
Thanks,
-Ryan
and dispose, but the GC never seems to reclaim the memory.
I have a windows form with a DataGrid on it with datasource set to this
temporary dataset. I have buttons that fill the dataset, manipulate it, and
clear it. It all works, but like I said, the GC doesn't reclaim the memory.
On repeated fill/manipulate/clear events the program memory just keeps
climbing. I know GC runs because it will climb by say 2 MB and then drop by
about 2k after the clear.
Why can't I get the memory footprint to drop down to around the initial
position before the first fill?
Anybody have a good method for tracking these memory leaks?
Thanks,
-Ryan