diff --git a/meilisearch-http/src/option.rs b/meilisearch-http/src/option.rs index a73e4ce19..82d67d5a0 100644 --- a/meilisearch-http/src/option.rs +++ b/meilisearch-http/src/option.rs @@ -575,7 +575,7 @@ fn total_memory_bytes() -> Option { let memory_kind = RefreshKind::new().with_memory(); let mut system = System::new_with_specifics(memory_kind); system.refresh_memory(); - Some(system.total_memory() * 1024) // KiB into bytes + Some(system.total_memory()) } else { None }