Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-4539

Duplicate/inconsistent logic for physical memory size in classes "Hardware" and "EnvironmentInformation"

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1.2
    • 1.2.0
    • Runtime / Task
    • None

    Description

      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.

      Attachments

        Activity

          People

            sewen Stephan Ewen
            sewen Stephan Ewen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: