Hi folks,

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

Why still get this exception? Should I still
increasing maximum direct memory size using -XX:MaxDirectMemorySize option (
e.g. -XX:MaxDirectMemorySize=128M)

what is the suggestion of the value(MaxDirectMemorySize)? I also setup java
-Xms500M -Xmx1g

Reply via email to