On 3/20/07, mat <[EMAIL PROTECTED]> wrote:
Thanks. I i didn't set the direct buffers and buffer allocator I used is mina bytebuffer. Actually I don't quite understand when and what's the purpose of setting the direct buffer although this topic was mentioned several times in the forum. Maybe a tutorial is neccessary? ^^
It seems like you didn't read related thread yet. MINA 1.0.x allocated direct buffers by default. You need to change this setting to gain more performance. Please insert the following code in the beginning of the entry point of your application. ByteBuffer.setUseDirectBuffers(false); ByteBuffer.setAllocator(new SimpleByteBufferAllocator()); All committers including me are quite busy these days, so please forgive us for the tutorials being delayed. HTH, Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP Key ID: 0x0255ECA6
