Advertisement Jump to content


This topic is now archived and is closed to further replies.

Lars W.

problems allocating memory

This topic is 6333 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post

Link to post
Share on other sites
(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

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!