Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Datagridview memory leak

50 views
Skip to first unread message

LLc...@gmail.com

unread,
Feb 4, 2008, 11:47:19 AM2/4/08
to
I have a datagridview that i create at runtime

it is bound to a binding source that has a collection as its
datasource. every 5 minutes i reload my collection and rebind the
grid:

....
callReqColl.Load(problems)
...
probBindSource.ResetBindings(False)
probBindSource.DataSource = callReqColl

probGrid.DataSource = probBindSource
probGrid.Refresh()

This works fine.

however, when profiling the application, the count of
DataGridViewTextBoxCell instances steadily increases taking up more
and more memory.

Is there any way to release these?


0 new messages