Previous Topic

Book Contents

Book Index

Next Topic

Memory Services

The following methods give you information about the memory usage.

Application.clearMemory()

This method starts the GarbageCollector service provided by JAVA. This is normally run randomly in order to dispose of the objects that are no longer used but still remain in the memory. Using clearMemory you can initiate this process explicitly, which might be helpful, for example, for the purposes of performance testing.

Application.getFreeMemory()

Returns the amount of free memory allocated to the Java Virtual Machine.

Application.getTotalMemory()

Returns the total amount of memory allocable to the Java Virtual Machine.

See Also

Setting Up Valuemation Environment

Writing Messages to the Log

Getting Valuemation Version

Information About the Running Platform

Main Parameters

User_Admin Mode

Selecting Language

Localizing Messages