Class JobManagerFlinkMemory

  • All Implemented Interfaces:
    Serializable, FlinkMemory

    public class JobManagerFlinkMemory
    extends Object
    implements FlinkMemory
    Flink internal memory components of Job Manager.

    A Job Manager's internal Flink memory consists of the following components.

    • JVM Heap Memory
    • Off-Heap Memory (also JVM Direct Memory)

    The relationships of Job Manager Flink memory components are shown below.

                   ┌ ─ ─  Total Flink Memory - ─ ─ ┐
                     ┌───────────────────────────┐
                   | │       JVM Heap Memory     │ |
                     └───────────────────────────┘
                   │ ┌───────────────────────────┐ │
                     |    Off-heap Heap Memory   │   -─ JVM Direct Memory
                   │ └───────────────────────────┘ │
                   └ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘
     
    See Also:
    Serialized Form
    • Constructor Detail

      • JobManagerFlinkMemory

        @VisibleForTesting
        public JobManagerFlinkMemory​(org.apache.flink.configuration.MemorySize jvmHeap,
                                     org.apache.flink.configuration.MemorySize offHeapMemory)