View Single Post
Old 06-06-2006, 10:12 AM   #2
rdomico
All Star Reserve
 
Join Date: Mar 2002
Location: Monaca, PA
Posts: 829
Quote:
Originally Posted by jarmenia
The game has a major memory leak. In trying to sim a 100 year test league (I used the default MAL league) by the time I got to the 45th year, OOTP was using 1.5 gig of the 2 gigs of ram I have in my machine. As I watched the process through the visual studio debugger, I noticed that the amount of ram just kept creeping up and NEVER went down.

I might be wrong, but I don't think it is a memory leak. Close the game down, reboot and then reload your game. You will see that the memory usage will be about the same.

I think it is a design decision. I can't see the code, so I can only guess, but it appears as though the game keeps the entire database(or a lot of it) in memory. The pro of that approach is faster access. Reading/Writing to a file is slow. Reading/Writing to memory is fast. The con is just what you are seeing.... a lot of memory.
rdomico is offline