Memory leak at clear Hardware Buffers [No Bug]

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Memory leak at clear Hardware Buffers [No Bug]

Post by Nadro »

Hi,

I see problem with release memory when we use hardware buffers (EHM_STATIC, EHM_DYNAMIC, EHM_STREAM). Memory allocated by hardware buffers isn't properly release, which cause strange memory leak (without hardware buffers it's ok). Problem is in both OpenGL and D3D9 modes. This is example which show this issue:
http://fs05u.sendspace.com/processupload.html
(irrlicht rev3232)

This is major issue for games, where we need allocate and release memory for meshes many times. I will try solve this problem soon (we need this for Buggy Race).

Patryk,
Last edited by Nadro on Thu Mar 04, 2010 1:35 am, edited 1 time in total.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

This issue? Note that the problem is not isolated to terrain meshes.

Travis
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Post by Nadro »

Yes, this is the same issue. I can writed this post in topic from link, but I didn't see this topic before.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
Post Reply