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

Fix SessionPool OOM problem when the number of devices and sessions is large

    XMLWordPrintableJSON

Details

    • 2023-2-Storage

    Description

      In current code of sessionPool, each session has an independent ConcurrentHashMap to record the device -> endPoint informations. 

       

      However, when SessionPool has large number of session and each session need to insert a large number of devices, the ConcurrentHashMaps will take a lot of memory, which may lead to OOM.

      Attachments

        Activity

          People

            haonan Haonan Hou
            haonan Haonan Hou
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: