Hi Jeff, Do you mean a memory leak ? Once the chain is created, nothing should grow from the TChain side. Are you cleaning the previous objects before or after the TChain::GetEntry ? Could you activate the ObjectTable statistics by setting the following line in the system.rootrc or .rootrc Root.ObjectStat: 1 and call gObjectTable->Print() when a new file is loaded by the chain? let me know. Rene Brun Jeffrey Reid wrote: > > Hi all > > I have a very large chain of files and I end up exhausting memory when I > try to loop over the chain using GetEvent() as suggested in the > tutorial. Is there a simple way to reset the chain without losing your > place? I want to get all of the memory back but still be able to continue > looping through the chain from the position where I did the reset. Is > this possible, or is there another better approach for what I want to do? > > Thanks > > Jeff > > --------------------------------------------------------------- > Jeffrey G Reid jgreid@u.washington.edu > --------------------------------------------------------------- > "O holy mathematics, may I for the rest of my days be consoled > by perpetual intercourse with you, consoled for the wickedness > of man and the injustice of the Almighty!" -- Isidore Ducasse
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:38 MET