getMaxHeapSize

Returns the maximum heap size for the process, if any. Supports the units megabytes (e.g. "512m") and gigabytes (e.g. "1g").

Return

The maximum heap size. Returns null if the default maximum heap size should be used.