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

Configure Memory Sizes with units

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.6.0
    • None

    Description

      Currently, memory sizes are configured by pure numbers, the interpretation is different from configuration parameter to parameter.

      For example, heap sizes are configured in megabytes, network buffer memory is configured in bytes, alignment thresholds are configured in bytes.

      I propose to configure all memory parameters the same way, with units similar to time. The JVM itself configured heap size similarly: Xmx5g or Xmx2000m.

      10000  -> bytes
      10 kb
      64 mb
      1 gb
      ...
      

      Attachments

        Issue Links

          Activity

            People

              yanghua vinoyang
              sewen Stephan Ewen
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: