aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-06-16 15:39:29 -0700
committerchrislu <chris.lu@gmail.com>2022-06-16 15:39:29 -0700
commit625fd16a2e5eb676e8c9eaa0268f78246c69b1ef (patch)
tree1ec268e01ef437770d7ca878a5dabe7ea4700a6c
parent5f8d6b5f13252dfb2b3219582e386c561267b839 (diff)
downloadseaweedfs-625fd16a2e5eb676e8c9eaa0268f78246c69b1ef.tar.xz
seaweedfs-625fd16a2e5eb676e8c9eaa0268f78246c69b1ef.zip
reduce upfront memory usage for low density volume
-rw-r--r--weed/storage/needle_map/compact_map.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/storage/needle_map/compact_map.go b/weed/storage/needle_map/compact_map.go
index 3d2047f99..ccce8f108 100644
--- a/weed/storage/needle_map/compact_map.go
+++ b/weed/storage/needle_map/compact_map.go
@@ -8,7 +8,7 @@ import (
)
const (
- batch = 100000
+ batch = 10000
)
type SectionalNeedleId uint32