Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-16515

camel-github component possible OOM due to only adding elements to an unbuonded map

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.10.0
    • camel-github
    • None
    • Unknown

    Description

      I think there is a potential for OOM errors here: https://github.com/apache/camel/blob/master/components/camel-github/src/main/java/org/apache/camel/component/github/consumer/CommitConsumer.java#L68

      basically each commit sha is added to an in memory list of already processed commits used as an idempotent inmemory repository, but elements in the map are never removed.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            valdar Andrea Tarocchi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: