Obviously I'm operating in the blind here as I can't see the logs or operations or code. If you have Hawtio running you can log into the console and see the memory space as your application is running and get better detail as to what is happening.
You have a maximum memory of 512MB and are hitting the limit. If you look at the memory of the running instance after start up how much heap space do you have left? Also, which Java are you using? Java 1.8 no longer uses the perm gen memory settings. Obviously a simple test is to just bump the min/max and see if that fixes the problem or if it just delays it (indicating a different problem). Is your filter just looking at file names or is it opening the file? I'm not co I'm guessing your entire file is getting read into memory and it is hitting the limit. The first thing I'd do would simply be to try a test with changing: <to uri="sftp://xxxxx@xxxxx //DATOS/Interfaces/EXTRACTOS_xxx/extractosXRT?flatten=true&password=xxxxx&passiveMode=true&binary=true&autoCreate=false"/> to <to uri="file://temp/foo.txt"/> and see what the memory in Hawtio does during that read. On Mon, Jun 6, 2016 at 4:26 AM, Daniel P22 <pompadan...@gmail.com> wrote: > I have the default configuration, of karaf.bat > > if "%JAVA_MIN_MEM%" == "" ( > set JAVA_MIN_MEM=128M > ) > if "%JAVA_MAX_MEM%" == "" ( > set JAVA_MAX_MEM=512M > ) > if "%JAVA_PERM_MEM%" == "" ( > set JAVA_PERM_MEM=16M > ) > if "%JAVA_MAX_PERM_MEM%" == "" ( > set JAVA_MAX_PERM_MEM=128M > ) > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Problem-transfer-from-SMB-to-FTP-OutMemory-Java-Heap-Space-tp5783383p5783488.html > Sent from the Camel - Users mailing list archive at Nabble.com. >