Quote:
|
Originally Posted by Markus Heinsohn
Keep in mind that the game constantly creates new players that generate history. This will be kept in RAM.
There is a leak if you start, sim, check the memory useage, close the game down, start again, load the same league and then the memory useage is much less than before... if that is the case, we have a leak.
|
Markus & jarmenia, sorry but you're wrong

A leak is if the program allocates memory and doesn't free it *when it's no longer needed*.
What we have here, is a cache. Templates and text file content and also other stuff is being cached. When the cache is full or when you close the game, the cache will be written into a file and then the used memory will be freed again as it should be (so it's no leak). When you start the game again, the cache will be empty, so the game will use less RAM. After simulating some games it will be used again and it will need RAM again.
So Marc is right, it's just the cache.
I've tested it several times for memory leaks, and there are no leaks in the game at the moment