Arkamarante / collision-domain

Automatically exported from code.google.com/p/collision-domain
0 stars 0 forks source link

Server memory leak #37

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open server
2. Connect a client
3. Leave server running for some time

What is the expected output? What do you see instead?

There is a fair reliable munch of 2mb of memory per second from the server. 
Interestingly, when the server is running and nobody is connected, it eats 
about 1mb a second.

Somewhere in the latest commits (not my camera as the server doesn't use it! :p 
) the old or a new memory leak has snuck in. I shall investigate. Client seems 
to be leak free though!

Original issue reported on code.google.com by jami...@gmail.com on 21 Mar 2012 at 5:17

GoogleCodeExporter commented 8 years ago
Seems to only occur on the server, and in DirectX mode. When the server is in 
focus memory usage is fine, but as soon as the server window loses focus memory 
usage rockets up to ~2mb a second.

This doesn't seem to happen on the client.

Original comment by jami...@gmail.com on 21 Mar 2012 at 9:43

GoogleCodeExporter commented 8 years ago
Appears to have gone away now after latest patch. Will leave running for a few 
hours with a client connected to confirm

Original comment by jami...@gmail.com on 21 Mar 2012 at 10:42

GoogleCodeExporter commented 8 years ago
Server ran for about 9 hours with 10 AI players and a client connected.
Neither crashed, and memory usage on the server went up about 8mb and 12mb on 
the client. Don't think it's worth looking into personally.

Original comment by jami...@gmail.com on 22 Mar 2012 at 2:21