mirror of
				https://gitea.osmocom.org/cellular-infrastructure/osmo-trx.git
				synced 2025-11-04 06:03:17 +00:00 
			
		
		
		
	Debug: Allocate less memory for the RMD log.
This commit is contained in:
		@@ -70,8 +70,9 @@ int main(int argc, char *argv[])
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	gLogInit("transceiver", gConfig.getStr("Log.Level").c_str(), LOG_LOCAL7);
 | 
						gLogInit("transceiver", gConfig.getStr("Log.Level").c_str(), LOG_LOCAL7);
 | 
				
			||||||
	srandom(time(NULL));
 | 
						srandom(time(NULL));
 | 
				
			||||||
	// Allocate 100Mb of RAM to the real-time log
 | 
						// Allocate RAM for the real-time log.
 | 
				
			||||||
	RTMD_INIT(100*1024*1024);
 | 
						// 4M items = 4*32Mb RAM
 | 
				
			||||||
 | 
						RTMD_INIT(4*1024*1024);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (setupSignals() < 0) {
 | 
						if (setupSignals() < 0) {
 | 
				
			||||||
		LOG(ERR) << "Failed to setup signal handlers, exiting...";
 | 
							LOG(ERR) << "Failed to setup signal handlers, exiting...";
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user