V Sat, 01 Aug 2015 19:16:16 +0000 NX via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com> napsáno:
> On Saturday, 1 August 2015 at 18:47:00 UTC, Daniel Kozak wrote: > > Still same problem, You can`t allocate more then 16M on stack. > > Use dynamic allocation > > I don't think "new MyStruct" allocates on stack, actually > allocating ~16MB on stack will immediatelly crash the program > which is not the case with NewExpression. My fault It is not on stack, but still it is a static allocation