Skip to content

Commit

Permalink
Merge pull request #6975 from benbc/3.0-fix-powershell-heap-size-typo
Browse files Browse the repository at this point in the history
Fix type setting heap size in Powershell
  • Loading branch information
benbc committed Apr 19, 2016
2 parents 2d9a01e + 4d21909 commit 74a1a95
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ Function Get-Java

# Parse Java config settings - Heap
$option = (Get-Neo4jSetting -Name 'dbms.memory.heap.initial_size' -Neo4jServer $Neo4jServer)
if ($option -ne $null) { $ShellArgs += "-Xms$($option.Value))m" }
if ($option -ne $null) { $ShellArgs += "-Xms$($option.Value)m" }

$option = (Get-Neo4jSetting -Name 'dbms.memory.heap.max_size' -Neo4jServer $Neo4jServer)
if ($option -ne $null) { $ShellArgs += "-Xmx$($option.Value))m" }
if ($option -ne $null) { $ShellArgs += "-Xmx$($option.Value)m" }

# Parse Java config settings - Explicit
$option = (Get-Neo4jSetting -Name 'dbms.jvm.additional' -Neo4jServer $Neo4jServer)
Expand Down

0 comments on commit 74a1a95

Please sign in to comment.