Closed RaXaR closed 14 years ago
I can reproduce this on kubuntu 9.10. It keeps climbing as long as I stay in edit mode, but after leaving edit mode it only continues for a few seconds and then stops climbing.
Turns out this was a bug in the HUD rendering code, and how it interacts with edit mode.
Fixed in commit ad2e579e28c0a11a3de6c6630201070f61bb0ffc
Hi Kripken, whatever you did it is now working MUCH better. However, the leak is definitely still present. It just climbs much slower. In normal mode it's increases at around 4kb/s and in Edit Mode it increases faster. I recompiled Master, Server and Client.
I experience no leaks on the maps I tested. Which are you testing on?
The default map, i that comes with the repository. I think it's called storming
Hmm, are you using an AMD graphics card? If so then this might be the issue (and the fix),
http://cubeengine.com/forum.php4?action=display_thread&thread_id=2288
It still exists. I tested it on a Nvidia card. It's a much slower leak, but it's still there.
That patch seems to have worked for me. The memory usage stays around 110MB even when I enter/leave edit mode. Thanks
RaXaR: great.
BiosElement: Are you sure you are running the latest code? If so, then I need more details - OS, GPU, specific map, etc. etc.
Hi, I'm running Master Server, Server and Client on Vista 32
The client uses around 200MB of RAM when running around a map. As soon as I enter edit mode the usage jumps to around 500MB and keeps on climbing until the Client shuts down after a few minutes. I tried reloading the map, but the RAM usage stays at 500MB+.