Java Memory Used makeUsedPhysicalMemoryData(long systemPhysicalMaxValue, long systemPhysicalFreeValue)

Here you can find the source of makeUsedPhysicalMemoryData(long systemPhysicalMaxValue, long systemPhysicalFreeValue)

Description

make Used Physical Memory Data

License

Open Source License

Declaration

public static long makeUsedPhysicalMemoryData(long systemPhysicalMaxValue, long systemPhysicalFreeValue) 

Method Source Code

//package com.java2s;
/*//  w w w  .  ja  va 2s  . com
 * Copyright (c) 2012 Acroquest Technology Co., Ltd. All Rights Reserved.
 * Please read the associated COPYRIGHTS file for more details.
 *
 * THE SOFTWARE IS PROVIDED BY Acroquest Technology Co., Ltd., WITHOUT
 * WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
 * TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
 * AND NONINFRINGEMENT.
 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDER BE LIABLE FOR ANY
 * CLAIM, DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING
 * OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
 */

public class Main {

    public static long makeUsedPhysicalMemoryData(long systemPhysicalMaxValue, long systemPhysicalFreeValue) {
        long systemPhysicalUsedValue = systemPhysicalMaxValue - systemPhysicalFreeValue;
        return systemPhysicalUsedValue;
    }
}

Related

  1. getUsedMemoryInMegabytes()
  2. getUsedMemoryMBs()
  3. getUsedMemoryMegaBytes()
  4. getUsedMemoryStr()
  5. jvmInUseMemory(String size, Boolean txtByte)
  6. measureMemoryUse()
  7. memoryUsed()
  8. memoryUsed()
  9. memoryUsed()