You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2026/02/02 13:11:00 UTC

[jira] [Resolved] (CAMEL-22898) Memory Leak in google PubSub consumer

     [ https://issues.apache.org/jira/browse/CAMEL-22898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved CAMEL-22898.
-------------------------------------
    Resolution: Fixed

> Memory Leak in google PubSub consumer
> -------------------------------------
>
>                 Key: CAMEL-22898
>                 URL: https://issues.apache.org/jira/browse/CAMEL-22898
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-google-pubsub
>    Affects Versions: 4.14.2
>            Reporter: Sergei Skuratovich
>            Assignee: Guillaume Nodet
>            Priority: Major
>             Fix For: 4.18.0
>
>
> When a subscription is no longer exists starting a subscriber throws an exception. That causes a continuous creation of a new subscriber and [addition|https://github.com/apache/camel/blob/64d58324797e9f43c86710bf10412d00b7af71da/components/camel-google/camel-google-pubsub/src/main/java/org/apache/camel/component/google/pubsub/GooglePubsubConsumer.java#L167] it to a subscriber list in a loop. The cоnsumed memory grows until it reaches its limits.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)