Hi,

I'm dealing with some large xml files (300mb) that are gzipped (to around
3mb) in a folder.

I have a file route that reads from this folder then calls
unmarshal().gzip() to get the xml file for processing and the next stage of
the route is a beanRef.

My question is does the unmarshal().gzip() decompress the whole file in
memory?  I get java OOM exceptions when running on tomcat with Xmx1024m but
not if i increase it to Xmx4g.

Would a better way be to direct the gzip to a temporary folder then read
from the folder to a beanRef?



--
View this message in context: 
http://camel.465427.n5.nabble.com/unmarshal-gzip-question-tp5727782.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to