D3D Ran out of memory error


23-07-2008 19:07:13

I noticed a problem when using mygui. It happens occasionally while the game is running. I am using a rather weak Graphics card (Geforce 6200) to constantly test the performance of our game.

OGRE EXCEPTION(3:RenderingAPIException): Cannot create D3D9 vertex buffer: Ran out of memory in D3D9HardwareVertexBuffer::D3D9HardwareVertexBuffer at \Projects\OgreCVS\Branches\Eihort_vc71\ogrenew\RenderSystems\Direct3D9\src\OgreD3D9HardwareVertexBuffer.cpp (line 63)

I hope someone has a clue.


23-07-2008 19:16:12

Are you sure that it's MyGUI problem (not yours fault). If yes, what you doing with MyGUI? Which widgets you using, may be creating lost of render boxes or loading lots of textures in static image. Or, may be, just some memory leak.


23-07-2008 23:32:49

I am not sure that the source is Mygui, but since mygui is using alot of vertex buffers i am asuming that it could be the source. The game itself switches a lot of scenes including scenemanagers, where the gui gets recreated every time for a clean start. I try to narrow the source more precicly.
I think I found something usefull to read.

http://www.eggheadcafe.com/forumarchive ... 437608.asp

Thanks again altren for this incredible gui system that is evolving so fast. I will keep you updated on this.


29-09-2008 09:35:12

ok I just forgot to give a status report. This problem occured by accessing mygui by different threads. That was a problem in our code, now it works.