Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.11.0
Description
I know FLIP-116 (Unified Memory Configuration for Job Managers) is introduced in 1.11. That does cause a small behavior change regarding `-XX:MaxDirectMemorySize`. Previously, jobmanager don't set JVM arg `-XX:MaxDirectMemorySize`, which means JVM can use up to -`Xmx` size for direct memory. Now `-XX:MaxDirectMemorySize` is always set to jobmanager.memory.off-heap.size config (default 128 mb).
It is possible for jobmanager to get "java.lang.OufOfMemoryError: Direct Buffer Memory" without tuning jobmanager.memory.off-heap.size especially for high-parallelism jobs. Previously, no tuning needed.
Maybe we should point out the behavior change in the migration guide?
Attachments
Issue Links
- relates to
-
FLINK-16614 FLIP-116 Unified Memory Configuration for Job Manager
- Closed
- links to