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 <pompadan...@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&delete=false&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&password=xxxxx&passiveMode=true&binary=true&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. >