Memory ServicesThe 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. | |||||