2016-11-04 23 views
0

OutOfMemoryErrorが多すぎて、cassandraサービスが停止しました。OutOfMemoryError in cassandra

 WARN [New I/O worker #22] 2016-11-03 10:38:15,083 Slf4JLogger.java (line 76) 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.jboss.netty.channel.socket.nio.SocketReceiveBufferAllocator.newBuffer(SocketReceiveBufferAllocator.java:64) 
     at org.jboss.netty.channel.socket.nio.SocketReceiveBufferAllocator.get(SocketReceiveBufferAllocator.java:44) 
     at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:62) 
     at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:109) 
     at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:312) 
     at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:90) 
     at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178) 
     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) 

rootcauseの検索に手伝ってくれる人はいますか? 私はcassandra-2.0.9とnetty-3.6.6.Final.jarを使用しています。

答えて

0

ヒープダンプを取得して検査する必要があります。