std.zip expand: memory allocation failed
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  and it works for smaller files.
> Anyone has a solution? Memory mapping  previously solved
> some part of my issue but expand is still throwing memory
> allocation failure.
>  https://dlang.org/phobos/std_zip.html
Did you try the MmFile workaround?
More information about the Digitalmars-d-learn