Jump to content
  • Advertisement


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


HEAP error?

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

I''m creating a C++ DirectDraw7 app using the DirectX 9.0 SDK and VS.NET. Running in debug mode, I get the following text in my output(debug) window: HEAP[NetWorks.exe]: Invalid allocation size - A31FC740 (exceeded 7ffdefff) How can this be, since I have not a single ''new'' operator (in C this would be like malloc()) in my entire source? Note that the application is eitherwise fully-functional, no crashes, etc... Any idea on how to remove this annoying text?

Share this post

Link to post
Share on other sites
Not allocations done in a program happen explicitly from your code with malloc/new. It can happen indirectly. E.g. when you make a new texture, vertex buffer and any other thing that makes directx create an object internally. If the size you gave during creation of such a unit was extremely high (or invlaid somehow) you might get such an error.

Jacob Marner, M.Sc.
Console Programmer, Deadline Games

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!