Andrea Tarocchi created CAMEL-16515:
---------------------------------------
Summary: camel-github component possible OOM due to only adding
elements to an unbuonded map
Key: CAMEL-16515
URL: https://issues.apache.org/jira/browse/CAMEL-16515
Project: Camel
Issue Type: Bug
Components: camel-github
Reporter: Andrea Tarocchi
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)