You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Sergei Skuratovich (Jira)" <ji...@apache.org> on 2026/01/23 12:44:00 UTC
[jira] [Updated] (CAMEL-22898) Memory Leak in PubSub consumer
[ https://issues.apache.org/jira/browse/CAMEL-22898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergei Skuratovich updated CAMEL-22898:
---------------------------------------
Description: When a subscription is no longer exists starting a subscriber throws an exception. That causes a continious creation of 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 subscribers list in a loop. The cоnsumed memory grows until reaches its limits. (was: When a subscription is no longer exists starting a subscriber throws an exception. That causes a continious creation of 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 subscribers list in a loop. The cunsumed memory grows until reaches its limits.)
> Memory Leak in PubSub consumer
> ------------------------------
>
> Key: CAMEL-22898
> URL: https://issues.apache.org/jira/browse/CAMEL-22898
> Project: Camel
> Issue Type: Bug
> Components: camel-google-pubsub
> Reporter: Sergei Skuratovich
> Priority: Major
>
> When a subscription is no longer exists starting a subscriber throws an exception. That causes a continious creation of 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 subscribers list in a loop. The cоnsumed memory grows until reaches its limits.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)