Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Memory Dump Problem?  (Read 518 times)

RandomNumberGenerator

  • Bay Watcher
  • Nope.
    • View Profile
Memory Dump Problem?
« on: August 05, 2009, 09:42:49 pm »

With my last few fortresses I've noticed that the game will occasionally slow down to 30-40 FPS(From 80, where it's capped), and will 'stick' there, not going back up to 80. However, when I save the game, exit the application, then relaunch, it's back at 80, and stays at 80 for well over half and hour before it starts dropping again. I have a CPU monitor on my screen and when DF the fort is first launched, my CPU is running at ~50%. When the FPS starts dropping, it's running at 100%. I'm wondering if something is causing the application to get stuck, which ties up extra processing power for doing useless tasks?
Logged
The end of the world is more fun then I expected.

Hakazaba

  • Bay Watcher
    • View Profile
Re: Memory Dump Problem?
« Reply #1 on: August 05, 2009, 11:39:46 pm »

Ive noticed the same thing.

Its quite strange as my computer usually runs DF on 100+ ( kind of fluctuates up to 102 even though the cap is 100 ???)

I have a very powerfull computer although i am running vista.

I think water pathing may have something to do with it but im probibly wrong.
Logged

Nexii Malthus

  • Bay Watcher
    • View Profile
Re: Memory Dump Problem?
« Reply #2 on: August 05, 2009, 11:43:57 pm »

I guess you found a memory leak!

Easy to make mistakes in C/C++ that causes memory to pile up unnoticed.

Today should find the cause of the memory leak. Although I think some testing would help to track what is causing it, maybe water flows? Atom-smashing bridges? Death? Items being hauled? etc.

Albedo

  • Bay Watcher
  • Menacing with spikes of curmudgeonite.
    • View Profile
Re: Memory Dump Problem?
« Reply #3 on: August 06, 2009, 02:25:55 am »

If you think it's actually a subtle bug (and it sounds like it), then post it in the "bugs" subforum.
Logged

Puck

  • Bay Watcher
    • View Profile
Re: Memory Dump Problem?
« Reply #4 on: August 06, 2009, 05:33:10 am »

Actually... I thought I noticed that also...

Uber dwarf2.0

  • Bay Watcher
  • Please stop reading this, I will be banned if yo-
    • View Profile
Re: Memory Dump Problem?
« Reply #5 on: August 06, 2009, 05:07:20 pm »

same here , atfrist I thought it was my fortress's population
Logged