org.apache.sysds.utils

## Class MemoryEstimates

- java.lang.Object
- - org.apache.sysds.utils.MemoryEstimates

-     public class MemoryEstimates
      extends Object

  Memory Estimates is a helper class containing static classes that estimate the memory requirements of different types of objects in java. All estimates are worst case JVM x86-64bit uncompressed object pointers.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MemoryEstimates()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static long` | `byteArrayCost(int length)`
    `static long` | `charArrayCost(int length)`
    `static long` | `doubleArrayCost(long length)`
    `static long` | `intArrayCost(int length)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MemoryEstimates

          public MemoryEstimates()

  - ### Method Detail

    - #### byteArrayCost

          public static long byteArrayCost(int length)

    - #### charArrayCost

          public static long charArrayCost(int length)

    - #### intArrayCost

          public static long intArrayCost(int length)

    - #### doubleArrayCost

          public static long doubleArrayCost(long length)

Copyright © 2020 The Apache Software Foundation. All rights reserved.