DataGridView memory usage #1287
Copy link
Copy link
Closed
Labels
BugSomething is broken or behaving unexpectedly.Something is broken or behaving unexpectedly.
Description
Bernhard Lang asked 2018-01-04 08:13:51 UTC
We have a problem with the DataGridView's memory usage in virtual mode.
We want to show 4000000 entries within a DataGridView. Therefore we are using the virtual mode of the DataGridView. But when we set the RowCount property the memory usage goes up to 2GB. It also takes quite long.
Any idea how to handle this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugSomething is broken or behaving unexpectedly.Something is broken or behaving unexpectedly.
Activity
itg-assistant commentedon Jun 12, 2026
Frank (ITG) answered 2018-01-04 14:12:55 UTC
Hi Bernhard,
thanks for your message. We are aware of that problem and are currently working on implementing shared rows for the virtual mode that will drastically decrease the memory consumption to about 5MB for 1 million rows (based on our early tests).
Our ETA for that enhancement is end of Februrary. We´ll keep you updated.
Best regards
Frank
itg-assistant commentedon Jun 12, 2026
Bernhard Lang answered 2018-01-04 14:14:56 UTC
Thank you very much for this information