[Fwd: Ntuple/Histogram memory leak?]

From: Piero Zucchelli (Piero.Zucchelli@cern.ch)
Date: Tue Feb 22 2000 - 18:47:06 MET


Piero Zucchelli wrote:

> Hi Rene',
>
> if i add your
>
>   gObjectTable->Print();
>
> statement, then, the problem disappear. I was then afraid of
> Optimization issues, i'm running 6.1
> with the Makefiles of G4. I tried then with
>
>  gcc main.cc  -I/localscratch/root/include -L /localscratch/root/lib
> -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript
> -lMatrix -lPhysics -lm -ldl -rdynamic
>
> but the problem is still there without Print and disappear with Print.
>
> As i mentioned to you, and as you can see i removed the call to the
> -lNew library, but it has no effect (checked) . Were you able to
> reproduce it?
>
> Regards,
>
> Piero
>
> P.S. these tests are in order to use root for the HARP experiment
> (PS214 at CERN).
>
> Rene Brun wrote:
>
>> Hi Piero,
>> Forget what I told you in my previous mail. I confused the
>> constructor
>> with
>> the function Test.
>> I cannot reproduce your problem with your simple test. I do not see
>> any memory leaks at all.
>>
>> To find memory leaks in a Root program, you can do:
>>   gObjectTable->Print();
>> added in a loop (also #include "TObjectTable.h")
>> In your .rootrc file, activate object statistics with:
>> Root.ObjectStat:         1
>> default is 0.
>>
>> Let me know
>>
>> Rene
>>
>> Piero Zucchelli wrote:
>> >
>> >    Part 1.1       Type: Plain Text (text/plain)
>> >               Encoding: 7bit
>
> --
> ______________________
> Piero.Zucchelli@cern.ch
> CERN tel. 767-9941 room 1-1-058, http://home.cern.ch/~pzucchel
> FAX:+41-22-767-3100
>
>

--
______________________
Piero.Zucchelli@cern.ch
CERN tel. 767-9941 room 1-1-058, http://home.cern.ch/~pzucchel
FAX:+41-22-767-3100



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:19 MET