public class JobManagerProcessSpec extends CommonProcessMemorySpec<JobManagerFlinkMemory>
A JobManager's memory consists of the following components:
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 ││ └─────────────────────────────┘ └ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘
Constructor and Description |
---|
JobManagerProcessSpec(MemorySize jvmHeapSize,
MemorySize offHeapSize,
MemorySize jvmMetaspaceSize,
MemorySize jvmOverheadSize) |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
equals, getFlinkMemory, getJvmDirectMemorySize, getJvmHeapMemorySize, getJvmMetaspaceAndOverhead, getJvmMetaspaceSize, getJvmOverheadSize, getTotalFlinkMemorySize, getTotalProcessMemorySize, hashCode
@VisibleForTesting public JobManagerProcessSpec(MemorySize jvmHeapSize, MemorySize offHeapSize, MemorySize jvmMetaspaceSize, MemorySize jvmOverheadSize)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.