Timo Nentwig | 10 Jun 17:05

Crashing cassandra 0.6.2 with a simple JMX connection attempt

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)

Gmane