Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

Change to max 2GB for now

j.laycock0123c7a8982b
diff --git a/weed/storage/volume_create_windows.go b/weed/storage/volume_create_windows.go
index 5b30d3d52e..6580860792 100644
--- a/weed/storage/volume_create_windows.go
+++ b/weed/storage/volume_create_windows.go
@@ -20,7 +20,7 @@ func createVolumeFile(fileName string, preallocate int64) (*os.File, error) {
memory_map.FileMemoryMap[fileName] = new(memory_map.MemoryMap)
new_mem_map := memory_map.FileMemoryMap[fileName]
- new_mem_map.CreateMemoryMap(file, 1024*1024*1024*4)
+ new_mem_map.CreateMemoryMap(file, 1024*1024*1024*2)
if preallocate > 0 {
glog.V(0).Infof("Preallocated disk space for %s is not supported", fileName)