View Single Post
Old 06-06-2006, 10:47 AM   #17
Erik W.
Global Moderator
 
Erik W.'s Avatar
 
Join Date: Apr 2003
Location: Rivière-du-Loup, Qc
Posts: 4,615
Quote:
Originally Posted by Andreas Raht
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
Good to know.

Now explain why the heck the game runs so much more smoothly in a window than fullscreened!
__________________
Free agent baseball fan. Let's go (insert team name here)!
Erik W. is offline