Java Memory Allocate getAllocatedMemory()

Here you can find the source of getAllocatedMemory()

Description

get Allocated Memory

License

Open Source License

Declaration


public static long getAllocatedMemory() 

Method Source Code

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

public class Main {

    public static long getAllocatedMemory() {
        return Runtime.getRuntime().totalMemory();
    }/*from w  w  w.  j  a  v a2  s.  com*/
}

Related

  1. allocatedMemory()
  2. allocatedMemory()
  3. getAllocatedMemory()
  4. getAllocatedMemoryMB()
  5. getMemoryAllocated()
  6. memoryAllocated()