tillrohrmann commented on a change in pull request #9760: 
[FLINK-13982][runtime] Implement memory calculation logics
URL: https://github.com/apache/flink/pull/9760#discussion_r333945062
 
 

 ##########
 File path: 
flink-core/src/main/java/org/apache/flink/configuration/TaskManagerOptions.java
 ##########
 @@ -260,6 +263,189 @@
                                        text("\"ip\" - uses host's ip address 
as binding address"))
                                .build());
 
+       // 
------------------------------------------------------------------------
+       //  Memory Options
+       // 
------------------------------------------------------------------------
+
+       /**
+        * Total Process Memory size for the TaskExecutors.
+        */
+       public static final ConfigOption<String> TOTAL_PROCESS_MEMORY =
+               key("taskmanager.memory.total-process.size")
+                       .noDefaultValue()
+                       .withDescription("Total Process Memory size for the 
TaskExecutors. This includes all the memory that a"
+                               + " TaskExecutor consumes, consisting of Total 
Flink Memory, JVM Metaspace, and JVM Overhead. On"
+                               + " containerized setups, this value is 
automatically configured to the size of the container.");
+
+       /**
+        * Total Flink Memory size for the TaskExecutors.
+        */
+       @Documentation.CommonOption(position = 
Documentation.CommonOption.POSITION_MEMORY)
+       public static final ConfigOption<String> TOTAL_FLINK_MEMORY =
+               key("taskmanager.memory.total-flink.size")
 
 Review comment:
   ok

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to