Philip Thompson created CASSANDRA-7352:
------------------------------------------

             Summary: 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
         Environment: Windows
            Reporter: Philip Thompson
            Assignee: Joshua McKenzie


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.2#6252)

Reply via email to