Opengl Memory usage

I have written a windows program in VC++6. I am displaying a number of ploygon meshes at a time with nearly 10,000 vertices (in all)]
I am also using the texture maps
My problem is when I run it for sometimes, the momory goes on increasing and after some the virtual memory is nearly all eaten up by the program
So can anybody help

That usally means that you arent cleaning up your memory.

It’s not OpenGL fault so you should check your code first the only exception may be that your application is crashing hard so i.e. texture resource could not be freed properly.

In 9 out of 10 cases its your code…

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.