Java Memory Total totalMemory()

Here you can find the source of totalMemory()

Description

total Memory

License

LGPL

Declaration

public static long totalMemory() 

Method Source Code

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

public class Main {
    public static long totalMemory() {
        return Runtime.getRuntime().totalMemory();
    }//from www .  ja  v a2 s . c om
}

Related

  1. getTotalMemory(boolean preRunGarbageCollector)
  2. getTotalMemoryInKB()
  3. getTotalMemoryInMb()
  4. jvmTotalMemory(String size, Boolean txtByte)
  5. memoryTotal()
  6. totalMemory()
  7. totalMemory()
  8. totalMemory()
  9. totalMemoryb()