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
Swap with empty vectors to free up memory in ElectronSeedProducer #9194
Swap with empty vectors to free up memory in ElectronSeedProducer #9194
Conversation
A new Pull Request was created by @mark-grimes (Mark Grimes) for CMSSW_6_2_X_SLHC. Swap with empty vectors to free up memory in ElectronSeedProducer It involves the following packages: RecoEgamma/EgammaElectronAlgos @cmsbuild, @cvuosalo, @nclopezo, @slava77 can you please review it and eventually sign? Thanks. |
please test |
The tests are being triggered in jenkins. |
merge |
Swap with empty vectors to free up memory in ElectronSeedProducer
Size of effect? -L On Thu, May 21, 2015 at 9:17 AM, cmsbuild notifications@github.com wrote:
|
Hi Mark, The retained memory in PFClusterProducer is either the product being made I'd guess that major gains can be made in the fastjet producer. Jets are I'll take a look a PFEGammaProducer (here it's the old version) to see if Best, On Thu, May 21, 2015 at 9:55 AM, Mark Grimes notifications@github.com
|
Hi Mark, OK thanks for the clarification! Good that the jet producers seemed easy. We should port this to the Run2 The geometry instances are shared but the topology may not be (the Best, On Thu, May 21, 2015 at 10:30 AM, Mark Grimes notifications@github.com
|
Using
clear
on temporary vectors wasn't freeing up the memory. Changed to a swap with an empty vector instead.At 200 pileup this frees up about 40 Mb. Retained memory before (including the product, although that is a tiny fraction of it for this):
And after applying this pull request: