You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Joshua McKenzie (JIRA)" <ji...@apache.org> on 2015/12/08 17:33:12 UTC

[jira] [Updated] (CASSANDRA-7352) Java heap flags are being set to invalid values on Windows

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

Joshua McKenzie updated CASSANDRA-7352:
---------------------------------------
    Component/s: Packaging

> Java heap flags are being set to invalid values on Windows
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-7352
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7352
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Packaging
>         Environment: Windows
>            Reporter: Philip Thompson
>            Assignee: Joshua McKenzie
>              Labels: Windows, qa-resolved
>         Attachments: 7352_v1.txt
>
>
> In conf/cassandra-env.ps1 max heap size is set based on system memory. New generation heap size is then set based on max heap size. Integer division is not used, and thus floating point results are possible, which will prevent cassandra from being started up. The following error is seen:
> Invalid initial eden size: -Xmn511.75M
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)