Open SamDecrock opened 7 years ago
@SamDecrock Did you ever manage to find a memory efficient way to write zip files in node?
@vladbalan Yes!
I'm currently using the archiver module. It allows me to write directly to disk. This way only disk space is used, not RAM.
Sam
@SamDecrock Thanks! I was actually testing archiver
right now. I just compressed 100 files of 10MB each and no memory usage spikes! Good stuff. :)
Hi,
I'm processing some big files and I'm getting a "process out of memory" error.
Obviously, I'm out of memory because I'm trying to zip too much :-) Can the module be told to write directly to disk (stream)?
Thanks, Sam