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

Edoardo Causarano commented on CAMEL-10466:
-------------------------------------------

Hi Claus,

I did a couple commits over the course of the fix in the branch I linked, but 
the core of the issue is in 
https://github.com/ecausarano/camel/blob/camel-2.18.x/components/camel-dropbox/src/main/java/org/apache/camel/component/dropbox/core/DropboxAPIFacade.java
 My changes - particularly in the corresponding file in the dropbox-oom branch 
- aim to use the OutputStreamBuilder instead.

How can i make it easier for you to see all diffs from master? 

> 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
>          Components: camel-dropbox
>    Affects Versions: 2.18.0
>            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)

Reply via email to