From 2a83fe37dbb9adb9e8f0d60a5829cf3aee9d4abf Mon Sep 17 00:00:00 2001 From: Ilya Morozov Date: Wed, 2 Oct 2024 01:26:59 +0300 Subject: [PATCH] try 4MB fullhashing buffer --- czkawka_core/src/duplicate.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/czkawka_core/src/duplicate.rs b/czkawka_core/src/duplicate.rs index c0c54a367..e49aa538b 100644 --- a/czkawka_core/src/duplicate.rs +++ b/czkawka_core/src/duplicate.rs @@ -777,7 +777,7 @@ impl DuplicateFinder { .map(|(size, vec_file_entry)| { let mut hashmap_with_hash: BTreeMap> = Default::default(); let mut errors: Vec = Vec::new(); - let mut buffer = vec![0u8; 1024 * 1024 * 16]; + let mut buffer = vec![0u8; 1024 * 1024 * 4]; atomic_counter.fetch_add(vec_file_entry.len(), Ordering::Relaxed); for mut file_entry in vec_file_entry {