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

This Month's Specials

The Falklands War: 1982- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old April 15th, 2007, 03:01 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: Memory leak question

Even if SE5 didn't explicitly clear its memory when it exited, the kernel level process management routines will free up all virtual memory mapped by an application upon termination. Unless you are using some garbage OS like win98, though; with win9x, anything can happen.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #2  
Old April 15th, 2007, 07:08 AM
BlueTemplar's Avatar

BlueTemplar BlueTemplar is offline
Corporal
 
Join Date: Apr 2007
Posts: 135
Thanks: 0
Thanked 2 Times in 1 Post
BlueTemplar is on a distinguished road
Default Re: Memory leak question

With hard disk space cheap as it is now, I've simply set the swap file to 4096 Mb (max) on my faster disk, while Se5 is installed on the secondary slower disk. Since I only have 512Mb SDRAM, it greatly helps.
Reply With Quote
  #3  
Old April 15th, 2007, 11:58 AM
Spoo's Avatar

Spoo Spoo is offline
First Lieutenant
 
Join Date: Jan 2001
Location: Toledo, OH
Posts: 641
Thanks: 0
Thanked 0 Times in 0 Posts
Spoo is on a distinguished road
Default Re: Memory leak question

Maybe SE5 is keeping combat replays in RAM?
__________________
Assume you have a 1kg squirrel
E=mc^2
E=1kg(3x10^8m/s)^2=9x10^16J
which, if I'm not mistaken, is equivilent to roughly a 50 megaton nuclear bomb.
Fear the squirrel.
Reply With Quote
  #4  
Old April 15th, 2007, 12:00 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 have mine set to 4092 and I use XP professional, but that doesn't explain why the game crashes when the page file hits 1.2gb to 1.5gb on my system.

The only explanation I can come up with is this; SEV stores the previous turn in the page file. When you hit the next turn button SEV goes to virtual memory and brings that information to ram. Since each turn appears to use only 100-150megs in the page file and the game, at least on mine, and uses between 400-500meg of ram, this wouldn't be a problem. However if SEV brings the entire page file allocated to the game into memory it would become a problem.
__________________
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
Reply

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 03:13 PM.


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