public class OSUtils
extends java.lang.Object
Constructor and Description |
---|
OSUtils() |
Modifier and Type | Method and Description |
---|---|
static long |
getTotalPhysicalMemory()
Safe call to obtain size of total physical memory.
|
public static long getTotalPhysicalMemory()
It is platform dependent and returns size of machine physical memory in bytes