What is the maximum column length in a csv file?

What is the maximum column length in a csv file. Is this managed java code?

+7
source share
4 answers

You may have a column with a maximum file size. This is usually limited by the size of the hard drive.

In Java, the precision limit is about 2 billion characters, which is the maximum line size.

You can limit the length if you want.

+10
source

CSV is a format that says you separate your values ​​with commas. This is basically it. There is no maximum in this standard.

There is a file size limit on your file system, so it stops, and your code may have a memory problem, as you are trying to read a few concerts, but there is no maximum.

All possible highs are determined by other factors, not CSV.

+3
source

CSV is not a standardized format. There is no specified length for any "column" in the file, and there is no actual formal requirement for the file other than a comma-separated list of values.

+3
source

CSV files do not have a maximum size limit other than memory limits.

However, I feel that it will be a very bad architecture using such a large CSV file in your application.

+1
source

All Articles