|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.mahout.common.MemoryUtil
public final class MemoryUtil
Memory utilities.
| Method Summary | |
|---|---|
static void |
logMemoryStatistics()
Logs current heap memory statistics. |
static void |
startMemoryLogger()
Constructs and starts a memory logger thread with a logging rate of 1000 milliseconds. |
static void |
startMemoryLogger(long rateInMillis)
Constructs and starts a memory logger thread. |
static void |
stopMemoryLogger()
Stops the memory logger, if any, started via startMemoryLogger(long) or
startMemoryLogger(). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void logMemoryStatistics()
Runtimepublic static void startMemoryLogger(long rateInMillis)
rateInMillis - how often memory info should be logged.public static void startMemoryLogger()
public static void stopMemoryLogger()
startMemoryLogger(long) or
startMemoryLogger().
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||