www.digitalmars.com         C & C++   DMDScript  

c++ - A Problem when allocating a lot of Memory


I have a problem when allocating a lot of Memory (this matches both C and 

When I allocate a smaller (and free it) and later a greater piece of memory,
where each would fit into the actual remaining memory, but not both,
then the second allocation fails.

This issue occurs only when I use the Digital Mars compiler (v8.42).

I have attached a zipfile including the necessary files and would be glad if
someone could tell me how to get rid of this.

Thanks in advance.

Bernd Feldmann-Raiff
Sep 05 2008