Ruby zlib deflate massive data

Posted by Bub Bradlee on Stack Overflow See other posts from Stack Overflow or by Bub Bradlee
Published on 2010-04-12T14:59:57Z Indexed on 2010/04/12 15:03 UTC
Read the original article Hit count: 431

Filed under:
|
|
|

I'm trying to use Zlib::Deflate.deflate on a massive file (4 gigs). There are obvious problems with doing that, the first of which being that I can't load the entire file into memory all at once. Zlib::GzipWriter would work, since it works with streams, but it's not zlib compression. Any ideas?

© Stack Overflow or respective owner

Related posts about ruby

Related posts about zlib