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
FWCore Catalog Memory Cleanup after XML Parsing #15116
FWCore Catalog Memory Cleanup after XML Parsing #15116
Conversation
ianna
commented
Jul 5, 2016
- Release memory and cleanup after parsing an xml file
A new Pull Request was created by @ianna (Ianna Osborne) for CMSSW_8_1_X. It involves the following packages: FWCore/Catalog @cmsbuild, @smuzaffar, @Dr15Jones, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are list here #13028 |
please test |
The tests are being triggered in jenkins. |
@Dr15Jones - I'm not sure how to test the changes. Please, see #15115 |
This code would also benefit from using a class to control the lifetime of the |
@@ -19,15 +19,12 @@ using namespace xercesc; | |||
namespace { | |||
|
|||
inline std::string _toString(XMLCh const* toTranscode) { | |||
std::string tmp(XMLString::transcode(toTranscode)); | |||
char* localForm = XMLString::transcode(toTranscode); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Dr15Jones - do you mean this one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function would just take a OwningXMLStringPtr
as argument.
hold |
Pull request has been put on hold by @ianna |
Comparison is ready The workflows 1003.0, 1001.0, 1000.0 have different files in step1_dasquery.log than the ones found in the baseline. You may want to check and retrigger the tests if necessary. You can check it in the "files" directory in the results of the comparisons |
Pull request #15116 was updated. @cmsbuild, @smuzaffar, @Dr15Jones, @davidlange6 can you please check and sign again. |
Pull request #15116 was updated. @cmsbuild, @smuzaffar, @Dr15Jones, @davidlange6 can you please check and sign again. |
unhold |
please test |
The tests are being triggered in jenkins. |
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_8_1_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @Degano, @smuzaffar |
+1 |