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

Xerces Memory Leak Cleanup #19442

Merged
merged 1 commit into from Jun 30, 2017

Conversation

ianna
Copy link
Contributor

@ianna ianna commented Jun 27, 2017

  • Use cms::xerces::toString instead of xercesc::XMLString::transcode. The former has a custom deleter which deallocates memory. The latter would need an explicit memory deallocation.

@ianna
Copy link
Contributor Author

ianna commented Jun 27, 2017

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 27, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/20936/console Started: 2017/06/27 12:44

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @ianna (Ianna Osborne) for master.

It involves the following packages:

CondFormats/CTPPSReadoutObjects

@ghellwig, @arunhep, @cerminar, @cmsbuild, @franzoni, @ggovi, @davidlange6 can you please review it and eventually sign? Thanks.
@ghellwig, @mmusich, @tocheng, @seemasharmafnal this is something you requested to watch as well.
@davidlange6 you are the release manager for this.

cms-bot commands are listed here

@ianna
Copy link
Contributor Author

ianna commented Jun 27, 2017

assign reconstruction

@cmsbuild
Copy link
Contributor

New categories assigned: reconstruction

@slava77,@perrotta you have been requested to review this Pull request/Issue and eventually sign? Thanks

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-19442/20936/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 22
  • DQMHistoTests: Total histograms compared: 1754263
  • DQMHistoTests: Total failures: 15025
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 1739072
  • DQMHistoTests: Total skipped: 166
  • DQMHistoTests: Total Missing objects: 0
  • Checked 90 log files, 14 edm output root files, 22 DQM output files

@ianna
Copy link
Contributor Author

ianna commented Jun 27, 2017

+1

@smuzaffar smuzaffar modified the milestone: CMSSW_9_3_X Jun 27, 2017
@slava77
Copy link
Contributor

slava77 commented Jun 27, 2017 via email

@slava77
Copy link
Contributor

slava77 commented Jun 27, 2017

+1

for #19442 52c69b7

  • technical (and apparently correct this time)
  • jenkins tests pass and comparisons show no differences
  • I also checked that there are no differences in run 297292 which includes data from CTPPS pixels

@ianna
Copy link
Contributor Author

ianna commented Jun 28, 2017

@slava77 - yes, I just fixed the memory leak by eliminating transcode. Since it would require to write a test, I did not attempt to cleanup the code now, e.g. remove extra conversions to std::string and back to char* and their comparison. It can be done as a next step.

@arunhep
Copy link
Contributor

arunhep commented Jun 30, 2017

+1

@davidlange6 davidlange6 merged commit b1d4200 into cms-sw:master Jun 30, 2017
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

6 participants