Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

JVM

VM

Flink Compose

user conf key1

configuration key2

metric max3

metric used3

JVM

JVM Heap

FrameWork Heap

taskmanager.memory.framework.heap.size

memoryConfiguration.frameworkHeap

metrics.heapMax

Status.JVM.Memory.Heap.Max

Status.JVM.Memory.Heap.Usedmetrics.heapUsed

Task Heap

taskmanager.memory.task.heap.size

memoryConfiguration.taskHeap

JVM None-Heap

JVM MetaSpace

taskmanager.memory.jvm-metaspace.size

memoryConfiguration.jvmMetaspace

metrics.metaspaceMax

Status.JVM.Memory.Metaspace.Max (FLINK-19617)

Status.JVM.Memory.Metaspace.Used (FLINK-19617)metrics.metaspaceUsed

JVM Overhead

taskmanager.memory.jvm-overhead.min

memoryConfiguration.jvmOverhead

Status.JVM.Memory.NonHeap.Max



Status.JVM.Memory.NonHeap.Used

metrics.nonHeapMax

metrics.nonHeapUsed

taskmanager.memory.jvm-overhead.max

other

-

-

Outside JVM

Mapped

-

-

-

metrics.mappedMax

Status.JVM.Memory.Mapped.TotalCapacity

Status.JVM.Memory.Mapped.MemoryUsedmetrics.mappedUsed

Direct

FrameWork OffHeap

taskmanager.memory.framework.off-heap.size

memoryConfiguration.frameworkOffHeap

metrics.directMax - metrics.networkMemoryTotal

Status.JVM.Memory.Direct.TotalCapacity - Status.Shuffle.Netty.TotalMemory

Status.JVM.Memory.Direct.MemoryUsed - Status.Shuffle.Netty.UsedMemorymetrics.directUsed - metrics.shuffleMemoryTotal

Task OffHeap Memory

taskmanager.memory.task.off-heap.size

memoryConfiguration.taskOffHeap

Network Memory

taskmanager.memory.network.min

memoryConfiguration.networkMemory

metrics.networkMemoryTotal

Status.Shuffle.Netty.TotalMemory

Status.Shuffle.Netty.UsedMemorymetrics.shuffleMemoryUsed

taskmanager.memory.network.max

Flink Managed

Managed Memory

taskmanager.memory.managed.size

memoryConfiguration.managedMemory

metrics.managedMemoryTotal

Status.ManagedMemory.Total (FLINK-14406)

Status.ManagedMemory.Used (FLINK-14406)metrics.managedMemoryUsed

1 These are the configuration parameters used in the Flink configuration.
2 Additionally, memoryConfiguration.totalFlinkMemory  and totalProcessMemory are exposed through the REST API.
3 The metrics which are exposed through the metrics endpoint.

...