TTree and the TList

From: Laurent Aphecetche (aphecetche@ganil.fr)
Date: Mon Nov 24 1997 - 12:36:24 MET


Hi, ROOTERS,

Using ROOT 1.03/07 on AIX.

I've a program which makes trees. The principle is to analyse runs, e.g.
I'm making a loop over runs.

When I'm just analyzing, everything is OK (no memory leak is apparent).

But when I'm adding the tree->Fill() (split mode on), I see that the
number
of instances of the TList class grows up (approximatly one more TList
for each event treated).

I've to analyze runs of 400.000 events, by packets of 20 runs. Thus I
reach a "storage exhausted in new" error...

Is this growing of TList's instance normal or not ?

Shall I join my header files ?

Thanks for your help.
 
-- 
APHECETCHE Laurent (mailto:aphecetche@ganil.fr)       
GANIL, B.P. 5027, 14076, Caen Cedex 5, France 
Vox: +33 (0)2 31 45 45 85 - Fax: +33 (0)2 31 45 46 65         
WWW: http://ganp03.in2p3.fr/nof/ & (perso.)
http://www.mygale.org/~p0mp0n



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:22 MET