mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-10-26 05:26:27 +00:00 
			
		
		
		
	Adjust the BBQueue buffers to use 2% instead of 10%
This commit is contained in:
		| @@ -84,7 +84,7 @@ where | ||||
|     let (grenad_parameters, total_bbbuffer_capacity) = grenad_parameters.max_memory.map_or( | ||||
|         (grenad_parameters, 100 * 1024 * 1024 * pool.current_num_threads()), // 100 MiB by thread by default | ||||
|         |max_memory| { | ||||
|             let total_bbbuffer_capacity = max_memory / 10; // 10% of the indexing memory | ||||
|             let total_bbbuffer_capacity = max_memory / (100 / 2); // 2% of the indexing memory | ||||
|             let new_grenad_parameters = GrenadParameters { | ||||
|                 max_memory: Some(max_memory - total_bbbuffer_capacity), | ||||
|                 ..grenad_parameters | ||||
|   | ||||
		Reference in New Issue
	
	Block a user