cassandra install - +HeapDumpOnOutOfMemoryError -Xss180k

原因分析:

You are running out of allocted memory for the JAVA VM (128k) is to less.

Modify the line below (..."128k"...) to reach a stack size of at least 160k in the file

picked from :http://stackoverflow.com/questions/11610856/ubuntu-12-04-and-cassandra-install-heapdumponoutofmemoryerror-xss128k [stackover]

编辑文件 cassandra/conf/cassandra-env.sh

找到如下位置:

  JVM_OPTS="$JVM_OPTS -Xss180k" 

我使用的 mint13 版本,java version "1.6.0_24", 尝试修改180为250后可以,具体数值,我是不断尝试后得到的

posted on 2013-06-23 10:28  JohnChain  阅读(709)  评论(0编辑  收藏  举报

导航