osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TaskManager use more memory than Xmx


Hi,

Flink uses a few libraries that allocate direct (off-heap) memory (Netty, RocksDB). Flink can also allocate direct memory by itself (only relevant for batch setups though).
Therefore, Xmx controls only one part of Flink's memory footprint.

Best, Fabian

2018-06-04 16:48 GMT+02:00 aitozi <gjying1314@xxxxxxxxx>:
Hi, Szczypiński

Do you have noticed the size of the maxDirectMemorySize in your taskamanger
jvm options, AFAIK the total memory one Taskmanager used is the (heap memory
+ directMemory) which may larger than the heap size specified by -Xmx?

Best wishes
Aitozi



--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/