Question

Is there any maximum size for a cell of data in a DataTable (like a byte[]), or can you grow it until the system runs out of memory?

Was it helpful?

Solution

There is no hardcoded limit.

If you're storing it as a byte[], you'll have a 2GB limit (even on 64bit systems), since you cannot make an array with more than Integer.MaxValue elements, which, with byte per element, would be 2GB.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top