java.Runtime - felipemanga/FemtoIDE GitHub Wiki

Summary

Actually implemented function


  • getRuntime()

Return the runtime instance

  • availableProcessors()

Return 1. Surprise! At least until more processor will be available.

  • totalMemory()

Return total memory expressed in bytes.
Example: int totalBytes = Runtime.getRuntime().totalMemory();

  • freeMemory()

Return actual free memory expressed in bytes.