Let arroy uses all the memory available instead of 50% of the 70%

This commit is contained in:
Tamo
2025-03-13 15:06:03 +01:00
parent 3fad48167b
commit 5ef7767429
2 changed files with 3 additions and 4 deletions

View File

@ -525,8 +525,7 @@ where
&mut rng,
dimension,
is_quantizing,
// Arroy should only use 50% of the memory
self.indexer_config.max_memory.map(|mm| mm / 2),
self.indexer_config.max_memory,
cancel,
)?;
Result::Ok(())