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

Sylvain Lebresne updated CASSANDRA-4275:
----------------------------------------

    Attachment: 4275.txt

So currently C* doesn't start with Oracle java7 u4, so I suggest with fix this. 
On the other side, we know -Xss128 works fine for java 6 so why take the risk. 
Attached patch that keeps 128 for java 6 but use 160 for java 7.

I suggest we start with that, and if it proves that indeed java 7 puts some 
much more on the stack that 160 is too low, it will still be time to up it 
later.
                
> Oracle Java 1.7 u4 does not allow Xss128k
> -----------------------------------------
>
>                 Key: CASSANDRA-4275
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4275
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.9, 1.1.0
>            Reporter: Edward Capriolo
>         Attachments: 4275.txt, trunk-cassandra-4275.1.patch.txt
>
>
> Problem: This happens when you try to start it with default Xss setting of 
> 128k
> =======
> The stack size specified is too small, Specify at least 160k
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.
> Solution
> =======
> Set -Xss to 256k
> Problem: This happens when you try to start it with Xss = 160k
> ========
> ERROR [Thrift:14] 2012-05-22 14:42:40,479 AbstractCassandraDaemon.java (line 
> 139) Fatal exception in thread Thread[Thrift:14,5,main]
> java.lang.StackOverflowError
> Solution
> =======
> Set -Xss to 256k

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

        

Reply via email to