Ardennesss wrote:FYI, your skybox causes a memory leak by forcing the renderlist to fire nonstop. This is the heap growth over a 60 second period with/without skybox. Figured you'd wanna know.
Skybox :
No Skybox:
I am not sure what you are trying to explain with your images. They don't make any sense to me.
Are you implicating that without skybox, the clients heap is 19 439 objects and with skybox its 626 534 objects within 60 seconds of running? Sounds like quite a lot to me.
The skybox is just copied from salem.
I am not that familiar with the rendering of the game. But with a quick glance, I am pretty sure that renderlist is fired pretty often, even if skybox is not added to it.
I also do not think that there is any memory leak associated with it.
As I said earlier, I have not looked into the rendering system of HnH, but the skybox is the same way as it was done in Salem.
Perhaps you could try to say what you think that the issue is in a bit more clear manner?