Github user NicoK commented on a diff in the pull request: https://github.com/apache/flink/pull/3683#discussion_r110106044 --- Diff: flink-core/src/main/java/org/apache/flink/configuration/TaskManagerOptions.java --- @@ -39,10 +39,53 @@ key("taskmanager.jvm-exit-on-oom") .defaultValue(false); + /** Size of memory buffers used by the network stack and the memory manager (in bytes). */ + public static final ConfigOption<Integer> MEMORY_SEGMENT_SIZE = + key("taskmanager.memory.segment-size") + .defaultValue(32768); + + /** + * Amount of memory to be allocated by the task manager's memory manager (in megabytes). If not + * set, a relative fraction will be allocated, as defined by {@link #MANAGED_MEMORY_FRACTION}. + */ + public static final ConfigOption<Long> MANAGED_MEMORY_SIZE = + key("taskmanager.memory.size") + .defaultValue(-1L); --- End diff -- yes, but unfortunately, `.noDefaultValue` is only specified for `ConfigOption<String>` - I'll change the comparisons to match against the default though - that already looked like a strange pattern
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---