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

JDK7 u40 stack size fixes

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

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Duplicate
    • None
    • None
    • None
    • cassandra, as launched by the default script by JDK 1.7.0_40 using CCM

    Description

      I use Archlinux, and the latest OpenJDK, and run my cassandra via @pcmanus's ccm.

      When I tried the cassandra-2.0.0 branch via:

      $ ccm create dev -v git:cassandra-2.0.0
      

      Then when I say:

      $ ccm populate -n3
      $ ccm node1 start -v
      

      I get the following error:

      xss =  -ea -javaagent:/home/blah/.ccm/repository/1.2.2/lib/jamm-0.2.5.jar -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42 -Xms1985M -Xmx1985M -Xmn496M -XX:+HeapDumpOnOutOfMemoryError -Xss180k
      
      The stack size specified is too small, Specify at least 228k
      Error starting node node1
      Standard error output is:
      Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.
      

      I tracked it down to conf/cassandra-env.sh, and changed the -Xss180k => -Xss228k and the node started.

      Attachments

        Issue Links

        Activity

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

          People

            Unassigned Unassigned Assign to me
            jdsumsion John Sumsion
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment