Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-3124

java heap limit for nodetool

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.0.1
    • Tool/nodetool
    • None
    • not important

    Description

      by defaull (from debian package)

      1. 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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            zenek_kraweznik0 Zenek Kraweznik Assign to me
            zenek_kraweznik0 Zenek Kraweznik
            Zenek Kraweznik
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment