Page 1 of 1

Memory leak in texture handling

PostPosted: Wed Feb 01, 2012 21:53
by sapier
There seems to be a huge memory leak somewhere in texture handling. It's triggered clientside by logging in and out roughly about 10 times without closing client.

You get dissorted Inventory items and following error messages on client console:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
GL_OUT_OF_MEMORY
Could not bind Texture
GL_OUT_OF_MEMORY
Could not bind Texture
GL_OUT_OF_MEMORY
Could not bind Texture
GL_OUT_OF_MEMORY
Could not bind Texture
GL_OUT_OF_MEMORY
Could not bind Texture
GL_OUT_OF_MEMORY
Could not bind Texture
GL_OUT_OF_MEMORY
Could not bind Texture
GL_OUT_OF_MEMORY
Could not bind Texture
GL_OUT_OF_MEMORY
Could not bind Texture

PostPosted: Wed Feb 01, 2012 21:59
by Jordach
I've seen this with directx nine, when minimising window then going to chrome, then back.

PostPosted: Wed Feb 01, 2012 22:27
by sapier
I don't think it's the same bug as i don't use direct x and don't minimize the window. I'm on ubuntu with nvidia graphics.

PostPosted: Thu Feb 02, 2012 03:12
by kahrl

PostPosted: Mon Apr 16, 2012 20:37
by VanessaE
This error seems to have reared its head again. For me, it happens fairly reliably the second time I leave one world and enter another via the main menu. High end video card (with I think 1GB of memory on it), 81 MB of texture data.

PostPosted: Sat Jul 14, 2012 09:41
by sapier
this bug seems to be still present in 20120606

PostPosted: Sat Jul 14, 2012 10:51
by Calinou
kahrl wrote:Patch


Dead link. ;)

PostPosted: Mon Aug 06, 2012 17:14
by sapier
great :-( where's kahrl I'm quite sure his patch fixed the problem but it's still back in 4.2rc1

PostPosted: Mon Aug 06, 2012 19:20
by xyz
That seems to be the patch.