mirror of https://github.com/apache/cassandra
merge from 2.1.0
This commit is contained in:
commit
f72d0247a7
|
|
@ -5,6 +5,10 @@
|
|||
* Optimise NativeCell comparisons (CASSANDRA-6755)
|
||||
|
||||
|
||||
2.1.0-final
|
||||
* (Windows) fix startup when WMI memory query fails (CASSANDRA-7505)
|
||||
|
||||
|
||||
2.1.0-rc3
|
||||
* Consider expiry when reconciling otherwise equal cells (CASSANDRA-7403)
|
||||
* Introduce CQL support for stress tool (CASSANDRA-6146)
|
||||
|
|
|
|||
|
|
@ -66,6 +66,14 @@ Function CalculateHeapSizes
|
|||
}
|
||||
|
||||
$memObject = Get-WMIObject -class win32_physicalmemory
|
||||
if ($memObject -eq $null)
|
||||
{
|
||||
echo "WARNING! Could not determine system memory. Defaulting to 2G heap, 512M newgen. Manually override in conf/cassandra-env.ps1 for different heap values."
|
||||
$env:MAX_HEAP_SIZE = "2048M"
|
||||
$env:HEAP_NEWSIZE = "512M"
|
||||
return
|
||||
}
|
||||
|
||||
$memory = ($memObject | Measure-Object Capacity -Sum).sum
|
||||
$memoryMB = [Math]::Truncate($memory / (1024*1024))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue