Ok I tried taskmanager.memory.process.size: 7168m

It's worst, the task manager can barely start before it throws
java.lang.OutOfMemoryError: Metaspace

I will try...
taskmanager.memory.flink.size: 5120m
taskmanager.memory.jvm-metaspace.size: 2048m


On Sun, 26 Dec 2021 at 19:46, John Smith <java.dev....@gmail.com> wrote:

> 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