Class TaskExecutorProcessSpec

  • All Implemented Interfaces:
    Serializable, ProcessMemorySpec

    public class TaskExecutorProcessSpec
    extends CommonProcessMemorySpec<TaskExecutorFlinkMemory>
    Describe the specifics of different resource dimensions of the TaskExecutor process.

    A TaskExecutor's memory consists of the following components.

    • Framework Heap Memory
    • Framework Off-Heap Memory
    • Task Heap Memory
    • Task Off-Heap Memory
    • Network Memory
    • Managed Memory
    • JVM Metaspace
    • JVM Overhead
    Among all the components, Framework Heap Memory and Task Heap Memory use on heap memory, while the rest use off heap memory. 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 TaskExecutor memory components are shown below.

                   ┌ ─ ─ Total Process Memory  ─ ─ ┐
                    ┌ ─ ─ Total Flink Memory  ─ ─ ┐
                   │ ┌───────────────────────────┐ │
                    ││   Framework Heap Memory   ││  ─┐
                   │ └───────────────────────────┘ │  │
                   │ ┌───────────────────────────┐ │  │
                ┌─  ││ Framework Off-Heap Memory ││   ├─ On-Heap
                │  │ └───────────────────────────┘ │  │
                │   │┌───────────────────────────┐│   │
                │  │ │     Task Heap Memory      │ │ ─┘
                │   │└───────────────────────────┘│
                │  │ ┌───────────────────────────┐ │
                ├─  ││   Task Off-Heap Memory    ││
                │  │ └───────────────────────────┘ │
                │   │┌───────────────────────────┐│
                ├─ │ │      Network Memory       │ │
                │   │└───────────────────────────┘│
                │  │ ┌───────────────────────────┐ │
      Off-Heap ─┼─   │      Managed Memory       │
                │  ││└───────────────────────────┘││
                │   └ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘
                │  │┌─────────────────────────────┐│
                ├─  │        JVM Metaspace        │
                │  │└─────────────────────────────┘│
                │   ┌─────────────────────────────┐
                └─ ││        JVM Overhead         ││
                    └─────────────────────────────┘
                   └ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘
     
    See Also:
    Serialized Form