cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zenek Kraweznik (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-3124) java heap limit for nodetool
Date Mon, 12 Sep 2011 07:05:08 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-3124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13102466#comment-13102466
] 

Zenek Kraweznik commented on CASSANDRA-3124:
--------------------------------------------

It seems that OpenVZ UBC is generating this error. If I use native kernel and run cassandra
on host machine, not in virtual everything is fine.

But I still think that limitting heap size in nodetool script is good idea :)

> java heap limit for nodetool
> ----------------------------
>
>                 Key: CASSANDRA-3124
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3124
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core, Tools
>    Affects Versions: 0.8.1, 0.8.2, 0.8.3, 0.8.4
>         Environment: not important
>            Reporter: Zenek Kraweznik
>            Priority: Minor
>
> by defaull (from debian package)
> # nodetool
> Error occurred during initialization of VM
> Could not reserve enough space for object heap
> Could not create the Java virtual machine.
> #
> and:
> --- /usr/bin/nodetool.old       2011-09-02 14:15:14.228152799 +0200
> +++ /usr/bin/nodetool   2011-09-02 14:14:28.745154552 +0200
> @@ -55,7 +55,7 @@
>      ;;
>  esac
> -$JAVA -cp $CLASSPATH -Dstorage-config=$CASSANDRA_CONF \
> +$JAVA -Xmx32m -cp $CLASSPATH -Dstorage-config=$CASSANDRA_CONF \
>          -Dlog4j.configuration=log4j-tools.properties \
>          org.apache.cassandra.tools.NodeCmd $@
> after every upgrade i had to add limit manually. I think it's good idea to add it by
default ;)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message