[
https://issues.apache.org/jira/browse/FLINK-4539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stephan Ewen resolved FLINK-4539.
---------------------------------
Resolution: Fixed
Fixed via 97a83a1fa62c06db19b09104d85c5e2bb850df0f
> 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)