Max TChain entries

Hi,

Is there a maximum number of entries/size of data that can be accessed using a TChain? I have a set of files with the same named TTree member that I open (without any error messages) assigning them all to the same TChain. When I loop over all the entries of the TChain it always seg faults when I try to read more than 1800001 entries (regardless of the which TChain entry the 1800002nd entry is):

for(int entry=10000;entry<numNoiseEntries;entry++){
noiseFile->GetEntry(entry);
}
seg faults at entry 1800002 just as starting from entry=0 does.

Thanks

Matt

[quote]Is there a maximum number of entries/size of data that can be accessed using a TChain?[/quote]No. There is no limit to the number of entries that can be in a TChain.

[quote] When I loop over all the entries of the TChain it always seg faults when I try to read more than 1800001 entries[/quote]Are you using MakeClass? Which version of ROOT are you using? Where does it crash (according to a stack trace)? Did you try valgrind?

Cheers,
Philippe.

Ah, my bad! It was another bug in my code that was causing the seg fault…