Ascii file with a size of 7GB

Dear all,

I want to fill the data stored in an ascii-file with a size of 7GB
into a ROOT-Ntuple, but it seems that ROOT is unable to
open and read the file.

I tried
ifstream in(“file”,ios::in);

Is there any other possibility for opening ascii-files ?

Thanks
Steffi

Hey Steffi,

I don’t have a clue what kind of system you are running.
However - using an up-to-date Linux box you should be able to
read ASCII files larger than 2 GB by using fopen64.

If you’re using Linux, type in your console

man fopen64 for detailed instructions.

It’s more C- than C+±stuff but it works. Had the same problem.