std.zip expand: memory allocation failed
Imperatorn
johan_forsberg_86 at hotmail.com
Sat Oct 16 10:27:01 UTC 2021
On Friday, 15 October 2021 at 20:41:36 UTC, Selim Ozel wrote:
> 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
Did you try the MmFile workaround?
More information about the Digitalmars-d-learn
mailing list