service-mango-health: use jemalloc (#922)
This commit is contained in:
parent
f54bb6f0b0
commit
ceeac9d3a4
|
@ -16,6 +16,11 @@ use crate::processors::health::HealthProcessor;
|
|||
use crate::processors::logger::LoggerProcessor;
|
||||
use crate::processors::persister::PersisterProcessor;
|
||||
|
||||
// jemalloc seems to be better at keeping the memory footprint reasonable over
|
||||
// longer periods of time
|
||||
#[global_allocator]
|
||||
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() -> anyhow::Result<()> {
|
||||
let args: Vec<String> = std::env::args().collect();
|
||||
|
|
Loading…
Reference in New Issue