Re: [ROOT] tree with a big number of branches

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Aug 12 2002 - 18:15:31 MEST


Hi Masoud,

Your Tree is a very simple tree. The Creation seems to be OK.
I am suspecting that some of your arrays in FillTree are not initialized.
Unfortunately, you did not send all the files necessary to understand
the problem.
I suggest that you add print statements before tree->Fill()
to check that your variables/arrays are correctly set.

Rene Brun

On Mon, 12 Aug 2002, Masoud M.Shafiei wrote:

> Dear ROOT users,
> 
>     I get "segmentation violation" at the level of filling up my tree.
> To my understanding this is due to the shortage of memory and to solve
> this problem I used  SetAutoSave(autos=1000) command and set the bufsize
> to 1024, nevertheless the problem is still there !
> Anybody knows what to do? The code is attached :)
> 
> Thanks in advance
> Masoud
> 
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:04 MET