Messages window slows down game speed
Bug #1535569 reported by
kaputtnik
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
High
|
Unassigned |
Bug Description
During game play opening the messages window slows the speed significantly down. I noticed:
* raising of CPU Usage about 15%
* fps goes down from 30 to 10~12 FPS
See also https:/
For testing you could use this savegame: https:/
Maybe related: bug 577888
Confirmed through forum posts.
Related branches
lp:~widelands-dev/widelands/memory_leak
- GunChleoc: Approve
- Tino: Approve
-
Diff: 539 lines (+140/-142)6 files modifiedsrc/graphic/rendertarget.cc (+92/-82)
src/graphic/rendertarget.h (+8/-6)
src/graphic/text/font_io.cc (+1/-1)
src/logic/map_objects/world/world.cc (+2/-2)
src/ui_basic/table.cc (+5/-19)
src/ui_fsmenu/loadgame.cc (+32/-32)
Changed in widelands: | |
importance: | Undecided → High |
milestone: | none → build19-rc1 |
Changed in widelands: | |
assignee: | nobody → SirVer (sirver) |
Changed in widelands: | |
status: | Confirmed → Fix Committed |
assignee: | SirVer (sirver) → nobody |
Changed in widelands: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I can confirm, definitely a memory leak.
See attachment:
1.) Loaded the savegame, Pause the game
2.) Scrolling over territory. Memory usage stable when all images are loaded (game still paused)
3.) Just opened the message window
=> Without doing anything and while the game is paused, the memory usage increases and increases.
As i am writing this, i am at 3.1GB and still increasing. Windows memory usage complete now reaching my physical memory limit of 8GB...