Hi all!
I'm working now with an app. that uses many direct bytebuffer in mina, and I have a question:

mina ByteBuffer pool are a "increase" only pool, when a new buffer is needed if there is not another buffer in the pool, then it will be allocated. But what happend at bytebuffers that are used once and then are forgotten into the pool?

My problem is that my app memory usage on taskmanager always increases, until app crashes, but my used heap memory is always the same. So I think that all that memory can be used by direct byte buffer, but I can't see if it is true because I have no tool to get the direct memory usage, also with new java.lang.management.

It can be useful if mina ByteBuffer would have method that return some basic statistics about the pool.
Maybe I'm wrong, what can I do?

thx to all!

by Fed

Reply via email to