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

Fix memory leak in the CEP library.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.1.3
    • None
    • Library / CEP
    • None

    Description

      Currently the CEP library stores all the keys it has seen so far, so that when the time comes, it can iterate over all the stored NFAs and update them accordingly.

      This implies that the state is never cleaned up and it can lead to memory issues.

      To improve this, we could register timers for each new element and for the specific key, so that 1) only the relevant NFAs are fetched, and 2) the timers will be gc'ed upon firing.

      Attachments

        Activity

          People

            kkl0u Kostas Kloudas
            kkl0u Kostas Kloudas
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: