Java Memory reportMemory(double val)

Here you can find the source of reportMemory(double val)

Description

report Memory

License

Open Source License

Declaration

private static String reportMemory(double val) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    private static String reportMemory(double val) {
        val /= 1024;
        return String.format(" %.4f KB | %.4f MB | %.4f GB", val, val / 1024, val / 1024 / 1024);
    }//from  ww w.j a  va 2 s  .  com
}

Related

  1. memoryValue(long inBytes)
  2. normalizeMemoryMeasure(String memory)
  3. percentMemoryFull()
  4. removeSliceFromMemory(String schemaName, String cubeName, String loadName)
  5. reportMemory()
  6. simpleMemory()
  7. testMemory(long bytesToTest)
  8. throwOutOfMemoryError()
  9. unlimitMemory()