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

前端 未结 4 1700
逝去的感伤
逝去的感伤 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 02:52

    The maximum size is limited by Int32. So 2^32 is the maximum number of DataTables you can hold inside a DataSet. So the max size is 2 billion. that is approximately 4GB

提交回复
热议问题