.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old April 14th, 2007, 09:41 PM
Demorve's Avatar

Demorve Demorve is offline
Private
 
Join Date: Jul 2005
Location: In a chamber of horrors
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Demorve is on a distinguished road
Default Re: Memory leak question

I don't know how many people have tracked this, but this is my observation. I have dual monitors and I recently upgraded my cpu to a dual core. Since I have done this I run the Windows Task Manager in one monitor and play the game in the other just to see how the program is using the dual cores. Here's what I noticed about SEV on my machine. The page file usage increases around 125 meg per turn, so after about 5 turns my page file usage is running at 950 meg. Since I have 2 gig in my computer this isn't a problem for me at this point, but I can see where it would be a big problem for those who only have 1 gig. On a fresh reboot I start with approximately 230 meg and after I play 6 turns, save, get out of the game I have around 270 meg. It appears to me that even if I exit the game SEV doesn't release all of the memory it used. The latter part may be common with most other programs as well.

Here's my take on the memory leak: it appears as though SEV does not release the previous turns data. What I mean by this is that by the time you get to turn 5, turns 1-4 are still in the page file.

Anybody else noticed the same thing I have? If my observations can be confirmed or debunked we may be able to help Aaron isolate the memory leak problem and finally get it fixed. It is my opinion that the next patch should concentrate solely on fixing the memory leak.

Edit: After playing another 5 turns I noticed the same thing about page file usage, however when I quit the page file usage returned to about the same size I had when I started. This leads me to believe that SEV does clear itself out of memory when you quit the game, but still retains each turn in the page file while playing.

Any thoughts?
__________________
Computer AI easy: zero beers, Computer AI average: 6 beers, Computer AI hard: 12 Beers, Computer AI impossible: a fifth of whiskey.
Reply With Quote
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 04:41 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.