Hi

What are you doing in Camel. It seems your issue is maybe that
somehow/somewhere you force a type conversion from file -> String and
that is causing to load the entire file into memory. And therefor you
should find that problem and fix that instead.

On Tue, Apr 8, 2014 at 9:04 PM, bbk <brendi...@hotmail.com> wrote:
> I found my problem: https://issues.apache.org/jira/browse/CAMEL-5172
> So with 2.6.0, I didn't see exception but null.
>
> I want to use the old behavior. So I implemented TypeConverter and custom
> genericFileToString with the old behavior. My converter return null but
> after org.apache.camel.component.file.genericFileToString is used.
>
> Is it possible to remove org.apache.camel.component.file.genericFileToString
> converter?
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Java-heap-space-with-FILE-producer-and-larges-files-tp5749845p5749974.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to