new and GC.malloc fail, core.stdc.malloc works

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jun 24 03:16:37 PDT 2014


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


More information about the Digitalmars-d-learn mailing list