"full pool" message?

I’m making a copy of a storage, and from time to time this message appears:

Discarding a free chunk due to a full pool

What exactly does it mean?

To avoid frequent chunk buffer allocation, there is a chunk pool where chunks not used any more will be returned and reused when there is a request for a new one. This message means there are too many free chunks waiting in the pool. The maximum size of the pool is number of CPUs multiplied by 16. You’re likely to see this message when you use a large number of threads.


Thanks! Lesson of the day was learned. :wink: