Announcement

Collapse
No announcement yet.

Closing Civ4 and slowdown

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Closing Civ4 and slowdown

    Hmm...

    When I hit close to desktop in Civ4 menu my computer has major slowdown and is unuseable for maybe a minute or two. On the other hand if I use Taskmanager to just hardclose the program it is all fine within 15secs.

    This is the exact oppisite of what i would expect. Anyone else notice severe slowdown when closing Civ4, and if so anyone know how to fix it?
    Last edited by Becephalus; November 30, 2005, 21:33.

  • #2
    I had this problem for a while. The Civ4 exe file stays in memory at program shut down and slowly releases memory back to the system...I dont know what causes this. I usually had to force shut the exe file via task manager after I exited to desktop to avoid this issue.

    What solved if for me was a 512 memory upgrade to a gig of ram....sorry!

    Comment


    • #3
      Here's a theory as to what could be happening. (I expect this is just one of very many possibilities...)

      (1) There is a memory leak in Civ where some objects are not being destroyed.
      (2) Because those objects are not actually in use, they get swapped out to the system page file on disk, so they no longer occupy physical memory.
      (3) However, when the program is closing down, the destructors for all those objects get called.
      (4) This causes the objects to be swapped back in from disk, which takes some time and causes the system to slow right down.

      * If you kill the process from task manager, the destructors for all the objects wouldn't be called, because task manager kills the process dead.

      * If you have enough memory, the objects wouldn't get swapped out to disk, so it would be much faster when closing down.

      Well, that theory seems to explain the facts. Whether it's right or not is a completely different matter!

      Comment

      Working...
      X