Java Memory Used getUsedMemory()

Here you can find the source of getUsedMemory()

Description

get Used Memory

License

Open Source License

Declaration

public static int getUsedMemory() 

Method Source Code

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

public class Main {
    public static int getUsedMemory() {
        return (int) (Runtime.getRuntime().totalMemory() / 1024);
    }// ww w. ja va 2  s .  co  m
}

Related

  1. getUsedMemory()
  2. getUsedMemory()
  3. getUsedMemory()
  4. getUsedMemory()
  5. getUsedMemory()
  6. getUsedMemory()
  7. getUsedMemory()
  8. getUsedMemory()
  9. getUsedMemory()