depending on your machine, I would increase the MaxDirectMemorySize
parameter to maybe 512M to start with.

--
..Cheers
Mark


On 4/24/07, mat <[EMAIL PROTECTED]> wrote:
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