What is the maximum size of a DataTable I can load into memory in .Net?

前端 未结 4 1692
逝去的感伤
逝去的感伤 2020-12-17 02:37

What is the maximum size of a DataTable I can load into memory in .Net?

Is there an artificial limitation, or it is only limited by the box I am running the code on

4条回答
  •  温柔的废话
    2020-12-17 03:03

    While I'm not sure of the memory footprint, there is a maximum number of rows. From MSDN:

    The maximum number of rows that a DataTable can store is 16,777,216.

提交回复
热议问题