camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From briane80 <>
Subject unmarshal().gzip() question
Date Tue, 19 Feb 2013 10:52:23 GMT

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

View raw message