Show indexation allocated memory

This commit is contained in:
Kerollmops 2025-01-29 14:16:36 +01:00
parent a00796c46a
commit db032079d8
No known key found for this signature in database
GPG Key ID: F250A4C4E3AE5F5F

View File

@ -93,6 +93,13 @@ where
}, },
); );
tracing::debug!(
"Indexation allocated memory metrics - \
Total BBQueue size: {total_bbbuffer_capacity}, \
Total extractor memory: {:?}",
grenad_parameters.max_memory,
);
let (extractor_sender, writer_receiver) = pool let (extractor_sender, writer_receiver) = pool
.install(|| extractor_writer_bbqueue(&mut bbbuffers, total_bbbuffer_capacity, 1000)) .install(|| extractor_writer_bbqueue(&mut bbbuffers, total_bbbuffer_capacity, 1000))
.unwrap(); .unwrap();