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

config MemoryStateBackend default value

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:

      Description

      The default MAX_STATE_SIZE of MemoryStateBackend is 5 * 1024 * 1024.

      If we want to change it, the only way is 

      // code placeholder
      env.setStateBackend(new MemoryStateBackend(1024 * 1024 * 1024));

      Is it?
      So shall we add it into configuration file?

        Attachments

          Activity

            People

            • Assignee:
              yangxiaoshuo yangxiaoshuo
              Reporter:
              yangxiaoshuo yangxiaoshuo
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: