Debug: Allocate less memory for the RMD log.

This commit is contained in:
Alexander Chemeris 2013-08-29 13:38:59 +04:00
parent 308556bbef
commit fd51ae550f
1 changed files with 3 additions and 2 deletions

View File

@ -70,8 +70,9 @@ int main(int argc, char *argv[])
gLogInit("transceiver", gConfig.getStr("Log.Level").c_str(), LOG_LOCAL7);
srandom(time(NULL));
// Allocate 100Mb of RAM to the real-time log
RTMD_INIT(100*1024*1024);
// Allocate RAM for the real-time log.
// 4M items = 4*32Mb RAM
RTMD_INIT(4*1024*1024);
if (setupSignals() < 0) {
LOG(ERR) << "Failed to setup signal handlers, exiting...";