Number of entries limitation in TChain

Hello all,

I’m running ROOT 5.16, using TChain *ch:
ch->Add(“file_name”);
ch->Add(“file_name”);
.
.
.
ch->Add(“file_name”);

The program always went well with varied number of files of 3000 entries each, but when I tried to run it with 2 files summing 170K entries, it crashed.
Is there any number of entries limitation (or size of file)?
I can’t realize what might be the problem.

Thanks,
Lina

Hi,

2*170k is nothing compared to what TChain can handle :slight_smile: The problem is somewhere else. You will need to post the code you use, the error message you get (as much output as possible, i.e. including the stack trace), the root version you use, what platform you are running on, which compiler version you use, and maybe even the file where your program crashes.

Cheers, Axel.