You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (JIRA)" <ji...@apache.org> on 2014/05/13 22:49:16 UTC

[jira] [Comment Edited] (CASSANDRA-5895) JDK7 u40 stack size fixes

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

Brandon Williams edited comment on CASSANDRA-5895 at 5/13/14 8:48 PM:
----------------------------------------------------------------------

That is, in fact, why we did this.  It's tremendously painful to bisect anything with java7 now, so I'd rather throw an extra 28k at it than be in this situation again.


was (Author: brandon.williams):
That is, in fact, why we did this.  It's tremendously painful to bisect anything with java7 now, so I'd rather throw an extra 28k at it then be in this situation again.

> 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)