decompress-zip icon indicating copy to clipboard operation
decompress-zip copied to clipboard

Process out of memory extracting material design icons

Open guybedford opened this issue 10 years ago • 5 comments

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!

guybedford avatar Aug 17 '15 18:08 guybedford

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

samccone avatar Aug 17 '15 19:08 samccone

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.

guybedford avatar Aug 17 '15 19:08 guybedford

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

samccone avatar Aug 17 '15 19:08 samccone

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

samccone avatar Aug 17 '15 19:08 samccone

@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.

guybedford avatar Aug 17 '15 19:08 guybedford