Memory leaks with OpenFileDIalog, SaveFIleDialog, and DataGridView in WinForms
Hello!
I'm noticing memory leaks when doing the following:
* using
* Adding new rows to a DataGridView (seems like clearing the table doesn't free anything?)
I've been researching for a few hours now and haven't come across any solutions yet. Does anyone know what could be going on? I've attached some code examples that should give more details.
I'm noticing memory leaks when doing the following:
* using
OpenFileDialog or SaveFileDialog, even inside using* Adding new rows to a DataGridView (seems like clearing the table doesn't free anything?)
I've been researching for a few hours now and haven't come across any solutions yet. Does anyone know what could be going on? I've attached some code examples that should give more details.



