You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2017/05/06 13:28:04 UTC

[jira] [Created] (FLINK-6469) Configure Memory Sizes via units

Stephan Ewen created FLINK-6469:
-----------------------------------

             Summary: Configure Memory Sizes via units
                 Key: FLINK-6469
                 URL: https://issues.apache.org/jira/browse/FLINK-6469
             Project: Flink
          Issue Type: Improvement
          Components: Core
            Reporter: Stephan Ewen


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}}.

{code}
10000  -> bytes
10 kb
64 mb
1 gb
...
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)