Memory allocation problem

grauzone none at example.net
Sun Aug 9 11:28:26 PDT 2009


bearophile wrote:
> Frank Benoit:
> 
>> Is it the malloc that fails (returning null) or the handling of the block?<
> 
> It's the filling of the memory block. malloc by itself doesn't crash.

Then what is there to complain? You know you must check return values.
The D allocation probably fails due to memory fragmentation (just a guess).



More information about the Digitalmars-d mailing list