Stucks because of gradually increasing memory usage

Hi,

i’m trying run a scripts which reads date ,time and run number from a txt file.
it is suppoused to make a plot first parameter of pol0 vs time. it works upto around 50 files but i can see from memory screen that the usage of memory gradually increasing and at the and because of insufficent memory root being stuck.
i’m using root 3.10.02 and sending the script . can some body inspect the script and fix the memory overusage problem?

cheer,
numan
plotPulseHF_TDC_ratio3.C (6.86 KB)

I have tried to the script with 5.10 but it complained about missing TDC data in my data files. i had to go back 3.10.
you don’t need to output files(outs1).
but i can send couple of data files.
HTBhf_004418.root (281 KB)
HTBhf_004417.root (282 KB)
HTBhf_004416.root (281 KB)

Hi,

I am not able to run your scripts (missing .txt file).
Did you try using valgrind (valgrind.kde.org) to detect where the memory leak was coming from?

Philippe

Hi,

i forgot to send it.
i’m sending the txt file and also the library file which will have to be used is :
setenv LD_LIBRARY_PATH /afs/cern.ch/user/t/tbh2/public/h2_2003/lxplus:${LD_LIBRARY_PATH}
i will try also valgrind.

cheers,
numan
deneme.txt (66 Bytes)