Class MemoryConsumptionStatus

java.lang.Object
com.compomics.util.memory.MemoryConsumptionStatus

public class MemoryConsumptionStatus
extends Object
This class provides information on the memory consumption status.
Author:
Marc Vaudel
  • Constructor Details

  • Method Details

    • halfGbFree

      public static boolean halfGbFree()
      Indicates whether a GB of memory is free.
      Returns:
      a boolean indicating whether a GB of memory is free
    • memoryUsed

      public static double memoryUsed()
      Returns the share of memory being used.
      Returns:
      the share of memory being used