[ https://issues.apache.org/jira/browse/CASSANDRA-7352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14018829#comment-14018829 ]
Philip Thompson commented on CASSANDRA-7352: -------------------------------------------- This correctly truncates the values. It works fine for me on two separate windows machines, one with cygwin, the other without. > 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 > Labels: Windows > 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.2#6252)