Java java.lang.management MemoryUsage fields, constructors, methods, implement or subclass

Example usage for Java java.lang.management MemoryUsage fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.lang.management MemoryUsage.

The text is from its open source code.

Method

longgetCommitted()
Returns the amount of memory in bytes that is committed for the Java virtual machine to use.
longgetInit()
Returns the amount of memory in bytes that the Java virtual machine initially requests from the operating system for memory management.
longgetMax()
Returns the maximum amount of memory in bytes that can be used for memory management.
longgetUsed()
Returns the amount of used memory in bytes.