-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
Describe the bug
I open a workspace (RooWorkspace) that contains a pdf and various parameters. From these I do a loop on pseudo-experiments ("toys") that generate a RooDataSet.
For each toy in the loop, after generation, I delete the RooDataset.
But the memory, as reported by the class ProcInfo_t, never decreases.
It means that either ProcInfo_t is not actually showing the current memory information, or that is shows the "integrated memory used since the beginning",
or that RooDataSet would have a memory leak ?
or that I have a bug in my program ?
I provide a minimum reproducible example.
See for example : "EXAMPLE OF PROBLEM"
The minimum program is here :
/afs/cern.ch/work/e/escalier/public/ForOthers/ProblemMemory
Expected behavior
the expected behaviour would be that when I delete the RooDataSet, the memory would reduce.
To Reproduce
The README shows the quick steps for allowing to read the root file
Setup
I used root 6.18.00 to reproduce the problem on a french cluster of computer
On lxplus, I reproduce the problem, with root 6.20.02