Skip to content

Commit

Permalink
Make example and default neo4j-admin memrec --memory value the same.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvest committed Jan 17, 2018
1 parent 8aa6d45 commit c4f7c48
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -116,9 +116,9 @@ private static Brackets findMemoryBrackets( long totalMemoryBytes )

public static Arguments buildArgs()
{
long totalPhysicalMemory = OsBeanUtil.getTotalPhysicalMemory();
String memory = bytesToString( OsBeanUtil.getTotalPhysicalMemory() );
return new Arguments()
.withArgument( new OptionalNamedArg( ARG_MEMORY, "8g", bytesToString( totalPhysicalMemory ),
.withArgument( new OptionalNamedArg( ARG_MEMORY, memory, memory,
"Recommend memory settings with respect to the given amount of memory, " +
"instead of the total memory of the system running the command." ) );
}
Expand Down

0 comments on commit c4f7c48

Please sign in to comment.