Example usage for Java java.lang.management MemoryUsage fields, constructors, methods, implement or subclass
The text is from its open source code.
long | getCommitted() Returns the amount of memory in bytes that is committed for the Java virtual machine to use. |
long | getInit() Returns the amount of memory in bytes that the Java virtual machine initially requests from the operating system for memory management. |
long | getMax() Returns the maximum amount of memory in bytes that can be used for memory management. |
long | getUsed() Returns the amount of used memory in bytes. |