cpkar
May 19, 2017, 10:15am
1
Hi Experts,
I am doing some toy study and trying to run over 1000 toys but at some point(after 31 toys), the loop stops. The interesting part is it is not giving any error. So that I can’t able to figure out what is happening.
The macro is attached below.
Thank you
Chandi
totalpdftoyprofile.cc (10.2 KB)
ganis
May 22, 2017, 8:56am
2
Hello,
From a quick look it looks you are doing a lot of ‘new’ in your loop, did you check memory consumption?
G Ganis
cpkar
May 30, 2017, 11:22am
3
Hi Ganis,
Could you please tell me how to check the memory consumption and how to reduce it?
Cheers
Chandi
Hi Chandi,
You may want to re-read the RooFit documentation and user’s guide.
In first approximation simply moving all the calls to new outside the loop should do the trick.
Cheers,
Philippe.
system
Closed
June 19, 2017, 9:32am
5
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.