Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
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?
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.