Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C5D571109F for ; Tue, 8 Apr 2014 15:38:22 +0000 (UTC) Received: (qmail 15122 invoked by uid 500); 8 Apr 2014 15:38:22 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 13876 invoked by uid 500); 8 Apr 2014 15:38:18 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 13815 invoked by uid 99); 8 Apr 2014 15:38:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Apr 2014 15:38:15 +0000 Date: Tue, 8 Apr 2014 15:38:15 +0000 (UTC) From: "Harikrishnan P (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-5895) JDK7 u40 stack size fixes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-5895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13963085#comment-13963085 ] Harikrishnan P commented on CASSANDRA-5895: ------------------------------------------- The solution is explained here http://stackoverflow.com/a/22470833/1740715 > JDK7 u40 stack size fixes > ------------------------- > > Key: CASSANDRA-5895 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5895 > Project: Cassandra > Issue Type: Bug > Components: Core > Environment: cassandra, as launched by the default script by JDK 1.7.0_40 using CCM > Reporter: John Sumsion > Attachments: 0001-Increasing-stack-size-to-avoid-error-on-OpenJDK-7-u4.patch, 0002-Ignoring-files-produced-by-ant-build.patch > > > 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: > {noformat} > $ ccm create dev -v git:cassandra-2.0.0 > {noformat} > Then when I say: > {noformat} > $ ccm populate -n3 > $ ccm node1 start -v > {noformat} > I get the following error: > {noformat} > 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. > {noformat} > I tracked it down to conf/cassandra-env.sh, and changed the -Xss180k => -Xss228k and the node started. -- This message was sent by Atlassian JIRA (v6.2#6252)