Jump to content
  • Advertisement

Archived

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

atjs

HEAP error?

This topic is 5630 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
Advertisement
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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!