DataGridView memory usage


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?

  • You must to post comments
Great Answer

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

  • Bernhard Lang
    Thank you very much for this information
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.