Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-33315 Optimize memory usage of large StreamOperator
  3. FLINK-33317

Add cleaning mechanism for StreamConfig#SERIALIZEDUDF

    XMLWordPrintableJSON

Details

    Description

      See FLINK-33315 for details.

      This Jira focus on avoid unnecessary memory usage, it can optimize the memory cost of Replica_3 in FLINK-33315.

       

      Solution:

      • After getStreamOperatorFactory,  the StreamConfig#SERIALIZEDUDF can be cleaned

      In general, we don't clean any configuration. However, the SERIALIZED_UDF may be very large when operator includes some large objects.

      {@link #getStreamOperatorFactory}

      is used to create a StreamOperator and usually only needs to be called once.

      Callers can clean it to reduce the memory after calling the {@link #getStreamOperatorFactory}.

      Attachments

        Issue Links

          Activity

            People

              fanrui Rui Fan
              fanrui Rui Fan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: