incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timo Nentwig <timo.nent...@wooga.net>
Subject Crashing cassandra 0.6.2 with a simple JMX connection attempt
Date Thu, 10 Jun 2010 15:05:18 GMT
Hi!

I accidentally swapped the thrift and JMX port when I tried to connect to the JMX interface.
This crashes cassandra instantaneously with OOM.

 $ jconsole service:jmx:rmi:///jndi/rmi://localhost:9160/jmxrmi

 INFO 16:55:36,568 Binding thrift service to localhost/127.0.0.1:9160
 INFO 16:55:36,576 Cassandra starting up...
java.lang.OutOfMemoryError: Java heap space
Dumping heap to java_pid35567.hprof ...
Heap dump file created [5834697 bytes in 0.227 secs]
ERROR 16:59:41,417 Fatal exception in thread Thread[pool-1-thread-2,5,main]
java.lang.OutOfMemoryError: Java heap space
        at org.apache.thrift.protocol.TBinaryProtocol.readStringBody(TBinaryProtocol.java:296)
        at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:203)
        at org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.java:1113)
        at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:253)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:637)
Mime
View raw message