Skip to content
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

delete loaded cleanPatJets after the temporary load if it was not around already #13681

Conversation

slava77
Copy link
Contributor

@slava77 slava77 commented Mar 10, 2016

On a technical side, this cleans up the temporary module loaded to the process only for the purpose of cloning it.

On a practical side, this also recovers back 500MB of extra memory triggered by PATStringCutObjectSelector due to jetCleaning loaded in #13372 / #13115 .

The default cleaner has a non-trivial cleaning selector in tkIsoElectrons and is never used in miniAOD workflow, while the derived cleaners loaded by jetCleaning have trivial selectors only (which do not use much memory).

[it looks like there are enough different context line that this PR is independent from #13372 / #13115 . ]

A better solution for PATStringCutObjectSelector memory use will need a more targeted instantiation selector functions (instead of all possible pat objects).

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @slava77 (Slava Krutelyov) for CMSSW_8_1_X.

It involves the following packages:

PhysicsTools/PatUtils

@cmsbuild, @vadler, @davidlange6, @monttj can you please review it and eventually sign? Thanks.
@TaiSakuma, @imarches, @ahinzmann, @acaudron, @mmarionncern, @rappoccio, @jdolen, @nhanvtran, @schoef, @ferencek, @gpetruc, @mariadalfonso, @pvmulder this is something you requested to watch as well.
@slava77, @Degano, @smuzaffar you are the release manager for this.

cms-bot commands are list here #13028

@slava77
Copy link
Contributor Author

slava77 commented Mar 10, 2016

@cmsbuild please test

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/11826/console

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

davidlange6 added a commit that referenced this pull request Mar 12, 2016
…ATCutParser-temp-cleanPatJets

delete loaded cleanPatJets after the temporary load if it was not around already
@davidlange6 davidlange6 merged commit 7cf35bf into cms-sw:CMSSW_8_1_X Mar 12, 2016
davidlange6 added a commit that referenced this pull request Mar 17, 2016
…ATCutParser-temp-cleanPatJets

 delete loaded cleanPatJets after the temporary load if it was not around already (same as #13681 )
@kpedro88 kpedro88 mentioned this pull request Apr 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants