You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "aitozi (JIRA)" <ji...@apache.org> on 2018/08/16 08:35:00 UTC

[jira] [Created] (FLINK-10158) The DataOutputSerializer may consume excessive memory

aitozi created FLINK-10158:
------------------------------

             Summary: The DataOutputSerializer may consume excessive memory
                 Key: FLINK-10158
                 URL: https://issues.apache.org/jira/browse/FLINK-10158
             Project: Flink
          Issue Type: Improvement
          Components: Core
    Affects Versions: 1.6.0, 1.5.2, 1.4.2
            Reporter: aitozi
            Assignee: aitozi


I found that the dataOutputSerializer clear the intermediate buffer when the buffer exceed the 5M (as a fixed configuration), But when we encountered the rebalance or keyByPartition and the downstream has a large parallel it will also consume a lot memory, we can do two things :

1. make this config configurable
2. like the https://issues.apache.org/jira/projects/FLINK/issues/FLINK-1326 mentioned, we can make the serializer one for the output

What's your idea ? [~StephanEwen]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)