On Apr 20, 2007, at 9:18 PM, mat wrote:
I am doing my testing on server. I open 150 concurrent sessions. However, my server CPU useage reaches 20% and memory is increasing 300M (increasing). Also I got a Exception: Java.lang.OutOfMemoryError: Direct buffer memory.
at java.nio.Bits.reserveMemory

ByteBuffer.setUseDirectBuffers(false) will help eliminate this..

I also observed that lots of packets were lost at the client side.

after an OOM, sure.

turn off direct buffers + try again..
-pete

--
(peter.royal|osi)@pobox.com - http://fotap.org/~osi

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to