You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2016/08/31 12:04:21 UTC

[jira] [Created] (FLINK-4539) Duplicate/inconsistent logic for physical memory size in classes "Hardware" and "EnvironmentInformation"

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)