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
Revert "testing skip memory management"
chrisluda7f13e73e11
diff --git a/weed/util/mem/slot_pool.go b/weed/util/mem/slot_pool.goindex a871188b5b..e6680d3cba 100644--- a/weed/util/mem/slot_pool.go+++ b/weed/util/mem/slot_pool.go@@ -35,12 +35,10 @@ func getSlotPool(size int) *sync.Pool {}func Allocate(size int) []byte {- return make([]byte, size)slab := *getSlotPool(size).Get().(*[]byte)return slab[:size]}func Free(buf []byte) {- returngetSlotPool(cap(buf)).Put(&buf)}