Re: Concerns about pooling and expiring direct buffers

2007-08-06 Thread ukong
Opps I find that in the next release there is no more pooling. My bad. But any ideas about the advantage of using direct buffer for writing? Pooling direct buffer hurts performance, but probably can bring down the memory footprint. Some users might want to control over memory usage??? ukong

Concerns about pooling and expiring direct buffers

2007-08-06 Thread ukong
I am just a casual user of MINA but I come across looking at the source code of PooledByteBufferAllocator when I found out that my app has been using a lot non-heap memory which does not seem to release. I believe direct buffers are not garbaged collected but in the current implementation of Pool