On Apr 24, 2007, at 7:13 AM, mat wrote:
Hi folks,

Out of direct buffer memory occured again. I already setup
ByteBuffer.setUseDirectBuffers(false);  // Direct buffers perform bad.
ByteBuffer.setAllocator(new SimpleByteBufferAllocator()); // Disables
pooling.

is data arriving faster than you can process it? if so, look at the ReadThrottleFilterBuilder

or are you sending faster than it can be written to the network? .. you'll need to do your own flow control then.

-pete


--
[EMAIL PROTECTED] - http://fotap.org/~osi



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

Reply via email to