azagrebin commented on a change in pull request #10124: [FLINK-14637] Introduce 
framework off heap memory config
URL: https://github.com/apache/flink/pull/10124#discussion_r345936444
 
 

 ##########
 File path: 
flink-core/src/main/java/org/apache/flink/configuration/TaskManagerOptions.java
 ##########
 @@ -278,6 +278,16 @@
                        .withDescription("Framework Heap Memory size for 
TaskExecutors. This is the size of JVM heap memory reserved"
                                + " for TaskExecutor framework, which will not 
be allocated to task slots.");
 
+       /**
+        * Framework Off-Heap Memory size for TaskExecutors.
+        */
+       public static final ConfigOption<String> FRAMEWORK_OFF_HEAP_MEMORY =
+               key("taskmanager.memory.framework.off-heap.size")
+                       .defaultValue("16m")
+                       .withDescription("Framework Off-Heap Memory size for 
TaskExecutors. This is the size of off-heap memory"
+                               + " (JVM direct memory or native memory) 
reserved for TaskExecutor framework, which will not be"
+                               + " allocated to task slots.");
 
 Review comment:
   Let's also mention that it will be part of jvm direct memory limit

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to