Hi, Peter.

Thanks for your quick reply.

> Direct ByteBuffer's won't show up in the heap. Try the latest release
> of MINA, you'll have to upgrade your app with the API changes, but
> the ByteBuffer pool now expires unused buffers, preventing memory
> growths like that.
Im currently working on that anyway... But ByteBuffers are already being 
reused with MINA 0.8, aren't they? 

Then everything seems to indicate, that - for some reason - my application  
sometimes needs a few hundred megabytes of ByteBuffers at the same time (and 
even though the memory might get reused afterwards, it isn't released, so the 
process doesn't shrink)? If my application really creates so many ByteBuffers 
at the same time that the process dies, then having MINA release unused 
ByteBuffers wouldn't help. Does that make sense?

But at least debugging the ByteBuffers on the heap might be easier. :-)

bye, Paul.

-- 
Paul Mallach
ARIVA.DE AG
Ostseekai 2
D - 24103 Kiel

Tel: +49 (0)431/97108-23               E-Mail: [EMAIL PROTECTED]
Fax: +49 (0)431/97108-29               Internet: http://www.ariva.de

Reply via email to