You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (Resolved) (JIRA)" <ji...@apache.org> on 2011/10/13 21:29:13 UTC

[jira] [Resolved] (CASSANDRA-3124) java heap limit for nodetool

     [ https://issues.apache.org/jira/browse/CASSANDRA-3124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved CASSANDRA-3124.
---------------------------------------

    Resolution: Fixed
      Reviewer: jbellis

committed
                
> java heap limit for nodetool
> ----------------------------
>
>                 Key: CASSANDRA-3124
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3124
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>         Environment: not important
>            Reporter: Zenek Kraweznik
>            Assignee: Zenek Kraweznik
>            Priority: Minor
>             Fix For: 1.0.1
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira