Skip to main content
GameDev.net gamedev.net
🔒 Locked

HEAP error?

Started by atjs Jan 19, 2003 at 7:23 AM 0 replies 300+ views
Original Post
atjs
atjs
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?
felonius
felonius
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
Jacob Marner, M.Sc.Console Programmer, Deadline Games

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.