diff options
| author | chrislu <chris.lu@gmail.com> | 2022-06-16 15:39:29 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-06-16 15:39:29 -0700 |
| commit | 625fd16a2e5eb676e8c9eaa0268f78246c69b1ef (patch) | |
| tree | 1ec268e01ef437770d7ca878a5dabe7ea4700a6c | |
| parent | 5f8d6b5f13252dfb2b3219582e386c561267b839 (diff) | |
| download | seaweedfs-625fd16a2e5eb676e8c9eaa0268f78246c69b1ef.tar.xz seaweedfs-625fd16a2e5eb676e8c9eaa0268f78246c69b1ef.zip | |
reduce upfront memory usage for low density volume
| -rw-r--r-- | weed/storage/needle_map/compact_map.go | 2 |
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 |
