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 2014/07/07 19:08:33 UTC

[jira] [Updated] (CASSANDRA-7505) cassandra fails to start if WMI memory query fails on Windows

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

Joshua McKenzie updated CASSANDRA-7505:
---------------------------------------

    Attachment: 7505_v1.txt

Virtualbox is missing a variety of WMI components implementations which gave rise to this problem:
[Bug example 1|https://www.virtualbox.org/ticket/5846]
[Bug example 2|https://www.virtualbox.org/ticket/6361]

Attached patch defaults to 2G heap, 512M newgen w/Warning message if we're on a platform where we can't query WMI.

> cassandra fails to start if WMI memory query fails on Windows
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-7505
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7505
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Joshua McKenzie
>            Assignee: Joshua McKenzie
>            Priority: Trivial
>              Labels: Windows
>             Fix For: 2.1.0
>
>         Attachments: 7505_v1.txt
>
>
> {code:title=failure}
> C:\src\cassandra>bin\cassandra.bat -f
> Detected powershell execution permissions.  Running with enhanced startup scripts.
> Setting up Cassandra environment
> Starting cassandra server
> Invalid initial heap size: -Xms0M
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)