Forums » Linux

Memory usage grows

May 27, 2003 kriss link
Vendetta seems to be semi-leaking. I'm sure it's technically 'caching', but it's kind of annoying when the game exits with out of memory. X' pixmap storage seems to grow like hell as well - with nothing else than Vendetta running. Is this a known problem, or shall I dig up something which might pass for useful and enlightening data?
May 27, 2003 Pyro link
What?! Useful data?! What do you think this is, an engine test??? :P
May 27, 2003 raybondo link
If you want to try, go ahead.
We 'cache' all textures once they're used. So basically once the texture is loaded, it is never freed. I let opengl deal with texture management regardless of how sucky it is.
That goes the same for meshes. I let the OS swap out unused stuff to swap.

With very high res textures, my computer uses up over 200 megs of memory. Most of which are textures.

We try to catch all memory leaks but there's nothing that can be done for leaky drivers.

Personally I envy the awesome resource management of GTA3 for the pc.
May 28, 2003 Turmoyl link
I noticed that when I use nVidia's GLX driver i have the same problem with nasty memory usage.

But, if I rip that out and use MesaGL it works great.

It may work for you, too.