Skip to content
Snippets Groups Projects
Commit 6a77b983 authored by Sami Kama's avatar Sami Kama
Browse files

Preallocate many slots in coredumpsvc

Former-commit-id: 06d330f5
parent 2282cd6b
No related branches found
No related tags found
No related merge requests found
......@@ -160,8 +160,8 @@ CoreDumpSvc::CoreDumpSvc( const std::string& name, ISvcLocator* pSvcLocator ) :
m_signals.setValue(sigs);
// Allocate for 200 slots. This should be increased if we foresee more than 200 slots.
// Memory overhead is negligable compared to dynamically allocate the entries
m_usrCoreDumps.reserve(200);
m_sysCoreDumps.reserve(200);
m_usrCoreDumps.resize(200);
m_sysCoreDumps.resize(200);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment