Stephan Ewen created FLINK-4539: ----------------------------------- Summary: Duplicate/inconsistent logic for physical memory size in classes "Hardware" and "EnvironmentInformation" Key: FLINK-4539 URL: https://issues.apache.org/jira/browse/FLINK-4539 Project: Flink Issue Type: Improvement Components: Local Runtime Affects Versions: 1.1.2 Reporter: Stephan Ewen Assignee: Stephan Ewen Priority: Minor Fix For: 1.2.0
Both {{Hardware}} and {{EnvironmentInformation}} have some logic to determine the size of the physical memory. The {{EnvironmentInformation}} class uses that in a heuristic for the maximum heap size. We should consolidate the logic in the {{Hardware}} class and call it from the {{EnvironmentInformation}}. -- This message was sent by Atlassian JIRA (v6.3.4#6332)