Class JobManagerProcessSpec

All Implemented Interfaces:
Serializable, ProcessMemorySpec

public class JobManagerProcessSpec extends CommonProcessMemorySpec<JobManagerFlinkMemory>
Describe the specifics of different resource dimensions of the JobManager process.

A JobManager's memory consists of the following components:

  • JVM Heap Memory
  • Off-heap Memory
  • JVM Metaspace
  • JVM Overhead
We use Total Process Memory to refer to all the memory components, while Total Flink Memory refering to all the components except JVM Metaspace and JVM Overhead.

The relationships of JobManager memory components are shown below.

               ┌ ─ ─ Total Process Memory  ─ ─ ┐
                ┌ ─ ─ Total Flink Memory  ─ ─ ┐
               │ ┌───────────────────────────┐ │
  On-Heap ----- ││      JVM Heap Memory      ││
               │ └───────────────────────────┘ │
               │ ┌───────────────────────────┐ │
            ┌─  ││       Off-heap Memory     ││
            │  │ └───────────────────────────┘ │
            │   └ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘
            │  │┌─────────────────────────────┐│
  Off-Heap ─|   │        JVM Metaspace        │
            │  │└─────────────────────────────┘│
            │   ┌─────────────────────────────┐
            └─ ││        JVM Overhead         ││
                └─────────────────────────────┘
               └ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘
 
See Also:
  • Constructor Details

    • JobManagerProcessSpec

      @VisibleForTesting public JobManagerProcessSpec(org.apache.flink.configuration.MemorySize jvmHeapSize, org.apache.flink.configuration.MemorySize offHeapSize, org.apache.flink.configuration.MemorySize jvmMetaspaceSize, org.apache.flink.configuration.MemorySize jvmOverheadSize)
  • Method Details