bower / decompress-zip

Module that decompresses zip files
MIT License
103 stars 76 forks source link

Process out of memory extracting material design icons #48

Open guybedford opened 9 years ago

guybedford commented 9 years ago

If I download the zip file from the release at https://github.com/google/material-design-icons/releases/tag/2.0.0, and run that directly through the standard extraction from this readme, I get the following error in Node:

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory
Abort trap: 6

Any ideas on this one welcome!

samccone commented 9 years ago

hey @guybedford thanks for the issue I xposted on the google repo for the time being

guybedford commented 9 years ago

Thanks for the quick response, I don't think the bower version downloads the release zip file as far as I can tell? Otherwise I'd have thought this would be flagged already.

samccone commented 9 years ago

ok, cool so the size of the zip is clearly the issue here

samccone commented 9 years ago

@guybedford can you give this a try https://github.com/thejoshwolfe/yauzl

guybedford commented 9 years ago

@samccone yeah that works perfectly actually. I did also try raising the memory limit here but it still ends up going over 1GB which seems odd for a 50MB file.