Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-1019

[Distributed] Memory control of the cluster engine

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Core/Cluster, Core/Engine
    • None

    Description

      We are glad to see that robust memory control is provided in a stand-alone engine to prevent OOM. However, this memory control only considers the memory occupied by the single engine, and does not consider the memory occupied by the distributed engine (such as the raft logs kept in the memory), which may cause OOM in a distributed cluster.

       

      There are two possible solutions to this problem:

      1. Set a configuration parameter to control the maximum memory in the view of a single engine (not the maximum memory of the JVM)

      2. Consider the memory occupied by the cluster engine.

      I think the first one would easier and helpful enough.

      Any ideas?

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              houliang Houliang Qi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: