Runtime.totalMemory

Runtime.totalMemory

Class Overview | Class Members | This Package | All Packages

Syntax
public native long totalMemory()
Returns
the total amount of memory currently available for allocating objects, measured in bytes.
Description
Returns the total amount of memory in the Java Virtual Machine.