camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-10466) OOM in Dropbox component (uses ByteArrayOutputStream for get)
Date Mon, 21 Nov 2016 09:41:58 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-10466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15683022#comment-15683022
] 

Claus Ibsen commented on CAMEL-10466:
-------------------------------------

unable to find remote file, at what point can this happen? Is it on a consumer or producer
side? Can you point out to where this is in your code?

> OOM in Dropbox component (uses ByteArrayOutputStream for get)
> -------------------------------------------------------------
>
>                 Key: CAMEL-10466
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10466
>             Project: Camel
>          Issue Type: Bug
>            Reporter: Edoardo Causarano
>              Labels: out-of-memory
>             Fix For: 2.18.2, 2.19.0
>
>
> Using the Dropbox component to download files will consume large amounts of memory, often
producing OOMs.
> This is due to the use of ByteArrayOutputStream objects in the implementation of org.apache.camel.component.dropbox.core.DropboxAPIFacade
> The component should use org.apache.camel.converter.stream.OutputStreamBuilder instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message