I already used heap buffers and disable direct buffers.

ByteBuffer.setUseDirectBuffers(false);  // Direct buffers perform bad.
ByteBuffer.setAllocator(new SimpleByteBufferAllocator()); // Disables
pooling.


On 7/21/07, Trustin Lee <[EMAIL PROTECTED]> wrote:

On 7/21/07, mat <[EMAIL PROTECTED]> wrote:
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_08-b03, mixed mode, sharing)
> Windows 2003
>
> So you think it is bug of JVM?

I'd suggest you to use heap buffers instead of direct buffers:


http://mina.apache.org/faq.html#FAQ-Iget%7B%7BOutOfMemoryError%7D%7Dorresponsetimeoutandconnectionresetunderheavyload
.

HTH,
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP Key ID: 0x0255ECA6

Reply via email to