aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Chemeris <Alexander.Chemeris@gmail.com>2013-08-29 13:38:59 +0400
committerAlexander Chemeris <Alexander.Chemeris@gmail.com>2013-08-29 13:38:59 +0400
commitfd51ae550f4501767d3af727612d7bd5a16ef5c7 (patch)
tree0197d858d79e1adaa5c4916b8413115eae65171f
parent308556bbef5dd97ba80016b1e6acd7ededa56323 (diff)
Debug: Allocate less memory for the RMD log.
-rw-r--r--Transceiver52M/multiTRX.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Transceiver52M/multiTRX.cpp b/Transceiver52M/multiTRX.cpp
index 5cbf426..7120155 100644
--- a/Transceiver52M/multiTRX.cpp
+++ b/Transceiver52M/multiTRX.cpp
@@ -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...";