public interface MemoryInfo
| Modifier and Type | Method and Description |
|---|---|
int |
getFreeMemory()
Gets the free available memory.
|
int |
getMaxMemory()
Gets the memory JVM will attempt to use.
|
int |
getTotalMemory()
Gets the total available memory.
|
int |
getUsedMemory()
Gets the used memory.
|
int getFreeMemory()
Runtime#freeMemory()}int getMaxMemory()
Runtime#maxMemory()}int getTotalMemory()
Runtime#totalMemory()}int getUsedMemory()
getTotalMemory() minus getFreeMemory()Copyright © 2015. All rights reserved.