ASF GitHub Bot commented on FLINK-6469:

GitHub user yanghua opened a pull request:


    [FLINK-6469] Configure Memory Sizes with units


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/yanghua/flink FLINK-6469

Alternatively you can review and apply these changes as the patch at:


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #5448
commit 1e109fd21783eada731df4552e154302d1bd9255
Author: vinoyang <vinoyang@...>
Date:   2018-02-10T06:52:13Z

    [FLINK-6469] Configure Memory Sizes with units


> Configure Memory Sizes with units
> ---------------------------------
>                 Key: FLINK-6469
>                 URL: https://issues.apache.org/jira/browse/FLINK-6469
>             Project: Flink
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Stephan Ewen
>            Assignee: vinoyang
>            Priority: Major
> 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

Reply via email to