problems allocating memory

Started by
0 comments, last by Lars W. 22 years, 6 months ago
Hi I have a confusing problem. I try to allocate a block of memory and my program crashes on allocation. The debugger points to the method nmalloc where the crash occurs (only assembler code there). The thing is i allocate memory all the time and it works (at least 10 times before that call). It can''t be out of memory, cause malloc would just return NULL in this case. The amount isn''t large, just around 4 Megs and i have allocated far more then that before. I also tried to use the new operator, but because it uses malloc the same happens. enyone encountered similar problems, and got a solution. Thanks for your help Lars
--------> http://www.larswolter.de <---------
Advertisement
(From a familiar .sig: )
Need... more... data...

Seriously, no one can have any idea what your problem is unless you provide them with some more information than that.

EDIT: Damn smileys!

Edited by - Oluseyi on September 21, 2001 12:42:43 PM

This topic is closed to new replies.

Advertisement