camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brad Johnson <>
Subject Re: Problem transfer from SMB to FTP OutMemory Java Heap Space
Date Mon, 06 Jun 2016 15:45:50 GMT
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

<to uri="sftp://xxxxx@xxxxx


<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 <> 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:
> Sent from the Camel - Users mailing list archive at

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