Jump to content
  • Advertisement

Archived

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

Lars W.

problems allocating memory

This topic is 6233 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
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

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!