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.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
print out memory size
Chris Lu95ef4513c88e
diff --git a/weed/storage/needle/compact_map_perf_test.go b/weed/storage/needle/compact_map_perf_test.goindex bb538bf7f8..908da968f1 100644--- a/weed/storage/needle/compact_map_perf_test.go+++ b/weed/storage/needle/compact_map_perf_test.go@@ -82,7 +82,7 @@ func PrintMemUsage(totalRowCount uint64) {var m runtime.MemStatsruntime.ReadMemStats(&m)// For info on each, see: https://golang.org/pkg/runtime/#MemStats- fmt.Printf("Each %v Bytes", m.Alloc/totalRowCount)+ fmt.Printf("Each %.2f Bytes", float64(m.TotalAlloc)/float64(totalRowCount))fmt.Printf("\tAlloc = %v MiB", bToMb(m.Alloc))fmt.Printf("\tTotalAlloc = %v MiB", bToMb(m.TotalAlloc))fmt.Printf("\tSys = %v MiB", bToMb(m.Sys))