Thank you for your response. But I have the same problem but somewhere and I don't find that is causing. The trace is:
Error during type conversion from type: org.apache.camel.component.file.Generi cFile to the required type: java.lang.String with value GenericFile[...] due java.lang.OutOfMemoryError: Java heap space at org.apache.camel.impl.converter.BaseTypeConverterRegistry.convertTo(BaseTypeConverterRegistry.java:130) at org.apache.camel.core.osgi.OsgiTypeConverter.convertTo(OsgiTypeConverter.java:102) at org.apache.camel.impl.MessageSupport.getBody(MessageSupport.java:72) at org.apache.camel.impl.MessageSupport.getBody(MessageSupport.java:47) at org.apache.camel.util.MessageHelper.extractBodyAsString(MessageHelper.java:67) at org.apache.camel.processor.interceptor.DefaultTraceEventMessage.<init>(DefaultTraceEventMessage.java:75) at org.apache.camel.processor.interceptor.DefaultTraceEventHandler.traceExchange(DefaultTraceEventHandler.java:8 6) at org.apache.camel.processor.interceptor.TraceInterceptor.traceExchange(TraceInterceptor.java:291) at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:151) ... Thank you for your help. -- View this message in context: http://camel.465427.n5.nabble.com/Java-heap-space-with-FILE-producer-and-larges-files-tp5749845p5749999.html Sent from the Camel - Users mailing list archive at Nabble.com.