Hi, John Could you tell us you application scenario? Is it a flink session cluster with a lot of jobs?
Maybe you can try to dump the memory with jmap and use tools such as MAT to analyze whether there are abnormal classes and classloaders > 2022年3月30日 上午6:09,John Smith <java.dev....@gmail.com> 写道: > > Hi running 1.14.4 > > My tasks manager still fails with java.lang.OutOfMemoryError: Metaspace. The > metaspace out-of-memory error has occurred. This can mean two things: either > the job requires a larger size of JVM metaspace to load classes or there is a > class loading leak. > > I have 2GB of metaspace configed taskmanager.memory.jvm-metaspace.size: 2048m > > But the task nodes still fail. > > When looking at the UI metrics, the metaspace starts low. Now I see 85% > usage. It seems to be a class loading leak at this point, how can we debug > this issue?