New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed memory leak in MultipleScatteringX0Data #18985
Fixed memory leak in MultipleScatteringX0Data #18985
Conversation
The TH2F was being leaked. Since the TH2F is not owned by the TFile there is no reason to keep the TFile around.
A new Pull Request was created by @Dr15Jones (Chris Jones) for master. It involves the following packages: RecoTracker/TkMSParametrization @perrotta, @cmsbuild, @slava77, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
The tests are being triggered in jenkins. |
This was found via valgrind
|
On 5/28/17 7:03 AM, Chris Jones wrote:
|==2359== 1,229,784 (3,096 direct, 1,226,688 indirect) bytes in 3 blocks
are definitely lost in loss record 87,917 of 87,995|
this is one per stream, right?
|
I think it is even more confusing. I believe one of these is created per thread becuase it is made by something using a thread_local. |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
@cmsbuild please test to get cleaner comparisons |
The tests are being triggered in jenkins. |
Comparison job queued. |
Comparison is ready @slava77 comparisons for the following workflows were not done due to missing matrix map:
Comparison Summary:
|
+1 for #18985 55b3586
|
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @smuzaffar |
+1 |
The TH2F was being leaked. Since the TH2F is not owned by the TFile
there is no reason to keep the TFile around.