[ROOT] Memory leak or desired behavior?

From: Glen R. Salo (gsalo@mrcstl.com)
Date: Fri Sep 28 2001 - 21:43:15 MEST


The following snip of code creates 1001 TH1F's and 3003 TAxis's on the
heap.  I did not expect this behavior?  Am I doing something wrong?

TFile f("Event.root")
TTree *t = (TTree *)f.Get("T")
for (Int_t i=0; i<1000; i++) t->Draw("fNtrack","","goff");
gObjectTable->Print();

I am running the latest CVS on a RedHat 7.1 PC.

Thanks,

Glen



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:00 MET