<< Click to Display Table of Contents >>

MemoryStatus

This class provides methods to get the information about the system's memory.


Method Detail

garbageCollect

public static void garbageCollect()

Do garbage collection.

getTotalMemory

public long getTotalMemory()

Gets total memory of the server VM.

getFreememory

public long getFreememory()

Gets free memory of the server VM.