static void addMaxHeap(final List<String> commandLine, final String maxHeap) {
    if (StringUtils.isNotBlank(maxHeap)) {
      commandLine.add("-Xmx" + maxHeap);
      commandLine.addAll(MemberJvmOptions.getGcJvmOptions(commandLine));
    }
  }
Encapsulates methods used by StartServerCommand and StartLocatorCommand and their associated
tests.

@see StartLocatorCommand
@see StartServerCommand
geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/commands/StartMemberUtils.java