Hi running Flink 1.10

I have

taskmanager.memory.flink.size: 6144m
taskmanager.memory.jvm-metaspace.size: 1024m
taskmanager.numberOfTaskSlots: 8
parallelism.default: 1

1- The host has a physical ram of 8GB. I'm better off just to configure
"taskmanager.memory.process.size" as 7GB and let flink figure it out?
2- Is there a way for me to calculate how much metspace my jobs require or
are using?

2021-12-24 04:53:32,511 ERROR
org.apache.flink.runtime.util.FatalExitExceptionHandler       - FATAL:
Thread 'flink-akka.actor.default-dispatcher-86' produced an uncaught
exception. Stopping the process...
java.lang.OutOfMemoryError: Metaspace

Reply via email to