[X] I had searched in the issues and found no similar feature requirement.
Description
The underlying storage module uses multiple object pools to reduce memory usage and minimize the frequency of garbage collection. However, if certain operations do not properly release unused objects, there is a risk of pool overflow.
I propose adding a pool tracker to keep track of each pool's number and size. The testing system could use this tracker to detect potential pool leaks, and the observability module could also monitor them.
Use case
No response
Related issues
No response
Are you willing to submit a pull request to implement this on your own?
[ ] Yes I am willing to submit a pull request on my own!
Search before asking
Description
The underlying storage module uses multiple object pools to reduce memory usage and minimize the frequency of garbage collection. However, if certain operations do not properly release unused objects, there is a risk of pool overflow.
I propose adding a pool tracker to keep track of each pool's number and size. The testing system could use this tracker to detect potential pool leaks, and the observability module could also monitor them.
Use case
No response
Related issues
No response
Are you willing to submit a pull request to implement this on your own?
Code of Conduct