Skip to content

DataGridView memory usage #1287

Closed
Closed

Description

@itg-assistant

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?

Activity

  1. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    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

  2. added
    BugSomething is broken or behaving unexpectedly.
    on Jun 12, 2026
  3. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Bernhard Lang answered 2018-01-04 14:14:56 UTC

    Thank you very much for this information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething is broken or behaving unexpectedly.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions