You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Wilson MacGyver <wm...@gmail.com> on 2015/12/03 22:27:32 UTC

camel zipfile memory based?

according to http://camel.apache.org/zip-dataformat.html

zip data format is memory based, ie, the entire file content is loaded into
the memory.


is this also true for

http://camel.apache.org/zip-file-dataformat.html

I don't see the same warning here.

Thanks,
Mac

-- 
Omnem crede diem tibi diluxisse supremum.

Re: camel zipfile memory based?

Posted by Wilson MacGyver <wm...@gmail.com>.
thank you for the heads up.

I'll work around it by increasing the heap for now then.

Thanks,
Mac


On Fri, Dec 4, 2015 at 3:54 AM, Claus Ibsen <cl...@gmail.com> wrote:

> We are improving this in Camel 2.17 so the data formats are using
> stream caching / streaming out of the box, and avoiding to read the
> entire content into memory.
>
> On Thu, Dec 3, 2015 at 9:27 PM, Wilson MacGyver <wm...@gmail.com>
> wrote:
> > according to http://camel.apache.org/zip-dataformat.html
> >
> > zip data format is memory based, ie, the entire file content is loaded
> into
> > the memory.
> >
> >
> > is this also true for
> >
> > http://camel.apache.org/zip-file-dataformat.html
> >
> > I don't see the same warning here.
> >
> > Thanks,
> > Mac
> >
> > --
> > Omnem crede diem tibi diluxisse supremum.
>
>
>
> --
> Claus Ibsen
> -----------------
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2
>



-- 
Omnem crede diem tibi diluxisse supremum.

Re: camel zipfile memory based?

Posted by Claus Ibsen <cl...@gmail.com>.
We are improving this in Camel 2.17 so the data formats are using
stream caching / streaming out of the box, and avoiding to read the
entire content into memory.

On Thu, Dec 3, 2015 at 9:27 PM, Wilson MacGyver <wm...@gmail.com> wrote:
> according to http://camel.apache.org/zip-dataformat.html
>
> zip data format is memory based, ie, the entire file content is loaded into
> the memory.
>
>
> is this also true for
>
> http://camel.apache.org/zip-file-dataformat.html
>
> I don't see the same warning here.
>
> Thanks,
> Mac
>
> --
> Omnem crede diem tibi diluxisse supremum.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2