Java Memory Free freeMemory()

Here you can find the source of freeMemory()

Description

free Memory

License

Open Source License

Declaration

public static long freeMemory() 

Method Source Code

//package com.java2s;

public class Main {
    static Runtime runtime = Runtime.getRuntime();

    public static long freeMemory() {
        return runtime.freeMemory();
    }/*w w  w .  j  a  v a  2s. c o  m*/
}

Related

  1. checkFreeMemory(long requiredMemory)
  2. formatMemorySize(Long afreeDiskSpace)
  3. freeAllocatedMemory()
  4. freeMemory()
  5. freeMemory()
  6. freeMemory()
  7. freeMemory()
  8. freeMemorym()
  9. freeMemoryMB()