public final class MemoryUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static double |
freeMemoryMB()
Get free memory in megabytes
|
static String |
getRuntimeMemoryStats()
Get runtime memory stats
|
static double |
maxMemoryMB()
Get maximum memory in megabytes
|
static double |
totalMemoryMB()
Get total memory in megabytes
|
static double |
usedMemoryMB()
Get used memory in megabytes
|
public static double totalMemoryMB()
public static double maxMemoryMB()
public static double freeMemoryMB()
public static double usedMemoryMB()
public static String getRuntimeMemoryStats()
Copyright © 2018. All Rights Reserved.