xintongsong commented on a change in pull request #11445: [FLINK-16615]
Introduce data structures and utilities to calculate Job Manager memory
components
URL: https://github.com/apache/flink/pull/11445#discussion_r396940933
##########
File path:
flink-core/src/main/java/org/apache/flink/configuration/JobManagerOptions.java
##########
@@ -94,9 +97,116 @@
@Deprecated
public static final ConfigOption<Integer> JOB_MANAGER_HEAP_MEMORY_MB =
key("jobmanager.heap.mb")
+ .intType()
.defaultValue(1024)
.withDescription("JVM heap size (in megabytes) for the
JobManager.");
+ /**
+ * Total Process Memory size for the JobManager.
+ */
+ @Documentation.Section(Documentation.Sections.COMMON_MEMORY)
+ @Documentation.ExcludeFromDocumentation("New JM memory model is still
in development.")
+ public static final ConfigOption<MemorySize> TOTAL_PROCESS_MEMORY =
+ key("jobmanager.memory.process.size")
+ .memoryType()
+ .noDefaultValue()
+ .withDescription(String.format(
Review comment:
Redundant call to `format()`.
----------------------------------------------------------------
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