public long getTotalPhysicalMemorySize() {
    return totalPhysicalMemorySize;
  }
Returns the number of megabytes of memory available to the operating system.

@return the number of megabytes of free memory available to the operating system
geode-core/src/main/java/org/apache/geode/management/OSMetrics.java