new and GC.malloc fail, core.stdc.malloc works
John Colvin via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Jun 25 07:44:20 PDT 2014
On Tuesday, 24 June 2014 at 10:16:38 UTC, bearophile wrote:
> John Colvin:
>
>> I'm getting OutOfMemoryErrors on some machines when calling
>> GC.malloc (or new) for anything large (more than about 1GB),
>> where core.stdc.malloc works fine.
>
> I think that when you go in territories where most people have
> not done much coding in D, like allocating than 1 GB in one
> shot, you hit some bugs. In general if some part of D is not
> used a lot, you have to assume it's buggy. Please report in
> Bugzilla the problems you have located.
>
> Bye,
> bearophile
After a little more investigation It seems that I'm getting an
OutOfMemoryError at around 1GB memory usage, regardless of the
granularity of allocation.
More information about the Digitalmars-d-learn
mailing list