Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
212 views
in Technique[技术] by (71.8m points)

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

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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...