Jump to content


Pagefile Errors

  • Please log in to reply
1 reply to this topic

#1 GodHead



  • Forum Members
  • PipPip
  • 1 posts

Posted 25 October 2007 - 12:11 AM

When running the the latest (unstable) beta, my pagefile rapidly increases to maximum size and then the game crashes. Within 20 minutes of playing the game my pagefile approaches 2 gigs, my system runs out of free virtual memory and then the game crashes.

Looks like you have a memory leak.

#2 Fomka



  • Forum Members
  • PipPipPip
  • 82 posts

Posted 23 February 2009 - 04:50 AM

After some time of silence I want to add that there is indeed one place with memory leak. I noticed the bug in version 0.7.1086 (on Windows XP) in mission planner and it is repeatable the following way.

Start hotseat, then Ctrl+LClick on a soldier to get into equipment screen. Cycle through some soldiers by pressing Tab and notice how memory assigned for ufo2000.exe process increases in size in task manager. Go back to the main manu by clicking on OK, pressing ESC and Enter. The assigned memory size shrinks, but not to the previous value for the main menu. Repeating the actions enlarges the memory.

So, even before some action begins, the game can consume all physical memory. Ending a hotseat game does not handle the memory propely either.

I've wrote all these here, because the bugtracker (http://ufo2000.xcomufo.com/mantis/) does not work now.

Edited: the bugtracker works now. Look at http://ufo2000.xcomu...view.php?id=553

This bug is resolved in version 0.9.1095 -- I can not reproduce it in the abovementioned way.

Edited by Fomka, 01 March 2009 - 11:02 AM.