|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.giraph.utils.MemoryUtils
public class MemoryUtils
Helper static methods for tracking memory usage.
| Method Summary | |
|---|---|
static double |
freeMemoryMB()
Get free memory in megabytes |
static String |
getRuntimeMemoryStats()
Get stringified runtime memory stats |
static void |
initMetrics()
Initialize metrics tracked by this helper. |
static double |
maxMemoryMB()
Get maximum memory in megabytes |
static double |
totalMemoryMB()
Get total memory in megabytes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static double totalMemoryMB()
public static double maxMemoryMB()
public static double freeMemoryMB()
public static void initMetrics()
public static String getRuntimeMemoryStats()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||