Skip to content

Commit

Permalink
Merge pull request #11457 from smorovic/shrink-INI-buffer-75X
Browse files Browse the repository at this point in the history
Freeing INI file buffer after writing the file is finished (75X)
  • Loading branch information
cmsbuild committed Oct 12, 2015
2 parents 00b6389 + 4d69332 commit e29a7b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions IOPool/Streamer/src/StreamerOutputModuleBase.cc
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ namespace edm {
start();
std::auto_ptr<InitMsgBuilder> init_message = serializeRegistry();
doOutputHeader(*init_message);
serializeDataBuffer_.header_buf_.clear();
serializeDataBuffer_.header_buf_.shrink_to_fit();
}

void
Expand Down

0 comments on commit e29a7b0

Please sign in to comment.