[Issue 22991] GC array literals restricted in size

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 19 07:38:42 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=22991

--- Comment #4 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(In reply to Dennis from comment #2)
> Note that the spec currently says:
> 
> > The total size of a static array cannot exceed 16Mb.
> 
> https://dlang.org/spec/arrays.html#static-arrays
> 
> But `bla` is 32Mb

That's true for Optlink, but not others, where the max static data size allowed
is half the address space.

--


More information about the Digitalmars-d-bugs mailing list