Java Memory Free freeMemory()

Here you can find the source of freeMemory()

Description

free Memory

License

LGPL

Declaration

public static long freeMemory() 

Method Source Code

//package com.java2s;
//License from project: LGPL 

public class Main {
    public static long freeMemory() {
        return Runtime.getRuntime().freeMemory();
    }//  w  ww. j  a  v a  2s  .c  o m
}

Related

  1. belowMemoryLimit(int percentFree)
  2. checkFreeMemory(long requiredMemory)
  3. formatMemorySize(Long afreeDiskSpace)
  4. freeAllocatedMemory()
  5. freeMemory()
  6. freeMemory()
  7. freeMemory()
  8. freeMemory()