You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Adrian Seungjin Lee (JIRA)" <ji...@apache.org> on 2015/02/09 02:41:34 UTC

[jira] [Created] (STORM-662) java.lang.OutOfMemoryError: Direct buffer memory

Adrian Seungjin Lee created STORM-662:
-----------------------------------------

             Summary: java.lang.OutOfMemoryError: Direct buffer memory 
                 Key: STORM-662
                 URL: https://issues.apache.org/jira/browse/STORM-662
             Project: Apache Storm
          Issue Type: Bug
            Reporter: Adrian Seungjin Lee


I'm using Storm 0.9.3 and facing this error in running topology.

Below is our custom configuration but it's pretty small.

supervisor.slots.ports:
    - 6700
worker.childopts:
    -Xmx4g -Xms4g
    -server -Djava.net.preferIPv4Stack=true
topology.worker.shared.thread.pool.size: 512
storm.messaging.netty.max_retries: 100

Feb 08, 2015 5:17:05 PM org.apache.storm.netty.channel.socket.nio.AbstractNioSelector WARNING: Unexpected exception in the selector loop. java.lang.OutOfMemoryError: Direct buffer memory at java.nio.Bits.reserveMemory(Bits.java:658) at java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:123) at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:306) at org.apache.storm.netty.channel.socket.nio.SocketReceiveBufferAllocator.newBuffer(SocketReceiveBufferAllocator.java:64) at org.apache.storm.netty.channel.socket.nio.SocketReceiveBufferAllocator.get(SocketReceiveBufferAllocator.java:44) at org.apache.storm.netty.channel.socket.nio.NioWorker.read(NioWorker.java:62) at org.apache.storm.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108) at org.apache.storm.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318) at org.apache.storm.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89) at org.apache.storm.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178) at org.apache.storm.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) at org.apache.storm.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)