Plug the grenad max memory parameter

This commit is contained in:
Clément Renault
2024-11-18 11:25:37 +01:00
parent 9150c8f052
commit 5b4c06c24c
8 changed files with 32 additions and 25 deletions

View File

@ -36,7 +36,7 @@ impl<'a, 'extractor> Extractor<'extractor> for FacetedExtractorData<'a> {
fn init_data(&self, extractor_alloc: &'extractor Bump) -> Result<Self::Data> {
Ok(RefCell::new(BalancedCaches::new_in(
self.buckets,
self.grenad_parameters.max_memory,
self.grenad_parameters.max_memory_by_thread(),
extractor_alloc,
)))
}