camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pontus Ullgren <ullg...@gmail.com>
Subject Re: Problem transfer from SMB to FTP OutMemory Java Heap Space
Date Thu, 02 Jun 2016 10:29:32 GMT
Which version of Camel and Camel Extra are you using ?
What heap size have you allocated to the Java process ?

Have you tried adding the localWorkDirectory URI option to the smb URI to
avoid loading the file content into memory ?

Best regard
Pontus Ullgren

On Thu, 2 Jun 2016 at 11:40 Daniel Pompa <pompadaniel@gmail.com> wrote:

> I have a problema with Fuse. I created a route,
>
> <route xmlns="http://camel.apache.org/schema/spring"
> id="sap-xrt-connect-interface-receive-20160414">
>         <from
> uri="smb://xxxxx;xxxxx@xxxxx
> /APLICACIONES/EFACDES/xxxs/?password=xxxx&amp;delete=false&amp;delay=60000"/>
>         <onException>
>             <redeliveryPolicy maximumRedeliveries="2"
> redeliveryDelay="20000" retryAttemptedLogLevel="WARN"/>
>         </onException>
>         <setProperty propertyName="CamelBatchComplete">
>             <simple>${property.CamelBatchComplete}</simple>
>         </setProperty>
>         <process/>
>         <filter>
>             <method>net.aqualogy.sap.xrt.connect.SapProcessor$1$2</method>
>             <process/>
>             <to
> uri="sftp://xxxxx@xxxxx
> //DATOS/Interfaces/EXTRACTOS_xxx/extractosXRT?flatten=true&amp;password=xxxxx&amp;passiveMode=true&amp;binary=true&amp;autoCreate=false"/>
>             <log message="sent file ${file:name} to SAP"/>
>         </filter>
>     </route>
>
> The route smb have 5000 files, when a start to tranfer I have the error
> OutMemory Java Heap Space, and sockedRead(File Descriptor). I think is for
> the amount of files in smb.
>
> Thanks
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Problem-transfer-from-SMB-to-FTP-OutMemory-Java-Heap-Space-tp5783383.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message