-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
hi ,i'm using this lib now,but i found when i call get and put very flunetnly,the memery still will increase to a high value for my application

you see, the relative is too high
my config is :
var BufferPool1 = adaptivepool.New( //还不太会用
adaptivepool.BytesBufferProvider{},
adaptivepool.NormalEstimator{
Threshold: 2, // reuse buffer if its Cap is in Mean ± 2 * StdDev
MinCost: 51200, // minimum cost (bytes) of newly created items
},
50, // bias towards the latest 500 elements to increase adaptability
)
can you tell how can i control the memory cost in a little value, thank you inadvance
Metadata
Metadata
Assignees
Labels
No labels