什么是一个DataTable,我可以加载到内存中的.Net的最大尺寸是多少?是一个、加载、尺寸、内存

2023-09-03 07:05:37 作者:慢着,这屎里有毒

什么是一个DataTable,我可以加载到内存中的.Net的最大尺寸是多少?

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

是否有一个人工限制,或它只由盒我正在运行的code不限?

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

推荐答案

虽然我不知道内存占用量,有行的最大数量。从 MSDN :

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

这是一个数据表可以存储的最大行数为16777216。

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