std.zip expand: memory allocation failed
Selim Ozel
sozel at wpi.edu
Fri Oct 15 20:41:36 UTC 2021
I am simply trying to unzip a compressed zip file slightly over
1GB. The de-compressed size is about 4 GB.
The code is very similar to what's explained in the documentation
[1] and it works for smaller files.
Anyone has a solution? Memory mapping [2] previously solved some
part of my issue but expand is still throwing memory allocation
failure.
Selim
[1] https://dlang.org/phobos/std_zip.html
[2]
https://forum.dlang.org/thread/mfnleztnwrbgivjvzvdp@forum.dlang.org
More information about the Digitalmars-d-learn
mailing list