Messages window slows down game speed

Bug #1535569 reported by kaputtnik
6
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://wl.widelands.org/forum/topic/1822/

For testing you could use this savegame: https://bugs.launchpad.net/widelands/+bug/1519361/+attachment/4551892/+files/wl_autosave_00.wgf

Maybe related: bug 577888

Confirmed through forum posts.

Related branches

Revision history for this message
Tino (tino79) wrote :

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...

Revision history for this message
Tino (tino79) wrote :

The moment i close the message window => no memory usage increase
Open it again => memory usage increasing at a steady rate (~0.1GB per 10 seconds)

kaputtnik (franku)
Changed in widelands:
importance: Undecided → High
milestone: none → build19-rc1
SirVer (sirver)
Changed in widelands:
assignee: nobody → SirVer (sirver)
SirVer (sirver)
Changed in widelands:
status: Confirmed → Fix Committed
assignee: SirVer (sirver) → nobody
GunChleoc (gunchleoc)
Changed in widelands:
status: Fix Committed → Fix Released
Revision history for this message
GunChleoc (gunchleoc) wrote :

Fixed in build19-rc1.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.