ServerMemoryInfo Properties
The ServerMemoryInfo type exposes the following members.
Properties
Name | Description | |
---|---|---|
CommittedMemory |
Returns the amount of memory in bytes that is committed for
the Java virtual machine to use. This amount of memory is
guaranteed for the Java virtual machine to use.
|
|
InitMemory |
Returns the amount of memory in bytes that the Java virtual machine
initially requests from the operating system for memory management.
This method returns -1 if the initial memory size is undefined.
|
|
MaxMemory |
Returns the maximum amount of memory in bytes that can be
used for memory management. This method returns -1
if the maximum memory size is undefined.
This amount of memory is not guaranteed to be available
for memory management if it is greater than the amount of
committed memory. The Java virtual machine may fail to allocate
memory even if the amount of used memory does not exceed this
maximum size.
|
|
UsedMemory |
Returns the amount of used memory in bytes.
|