You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2023/08/07 07:16:00 UTC

[jira] [Resolved] (CAMEL-19498) camel-core / camel-ftp - memory leak in MultiplePool when using pollEnrich EIP

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

Claus Ibsen resolved CAMEL-19498.
---------------------------------
    Resolution: Fixed

Thanks for reporting and the small example, I was able to reproduce

> camel-core / camel-ftp - memory leak in MultiplePool when using pollEnrich EIP
> ------------------------------------------------------------------------------
>
>                 Key: CAMEL-19498
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19498
>             Project: Camel
>          Issue Type: Bug
>          Components: came-core
>    Affects Versions: 3.14.0
>            Reporter: https://github.com/apache/camel.git
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.14.10, 3.20.7, 3.21.1, 3.22.0, 4.0.0
>
>
> MultiplePool does not free memory of field org.apache.camel.support.cache.ServicePool.pool
> {code:java}
> <route>
>     <from uri="timer://foo?fixedRate=true&amp;period=100"/>
>     <pollEnrich cacheSize="10" timeout="0">
>         <simple>sftp:camel@127.0.0.1:22/data?password=camel&amp;allowNullBody=true&amp;fileName=data-${exchangeProperty.CamelTimerCounter}.csv&amp;preferredAuthentications=password,publickey&amp;useUserKnownHostsFile=false</simple>
>     </pollEnrich>
>     <log message="poll file  data-${exchangeProperty.CamelTimerCounter}.csv"/>
> </route> {code}



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