Editor in Windows XP suffers high CPU, memory leak

Bug #982364 reported by _aD on 2012-04-15
Affects Status Importance Assigned to Milestone

Bug Description

Affects build 17 rc 1 and 2.

When using Windows XP the Editor consumes all available CPU and suffers a memory leak while the mouse is moved on the window. I have not been able to reproduce this on Windows 7 and it has been reported not to affect Ubuntu.

Hans Joachim Desserud (hjd) wrote :

The person who mentioned this on IRC early today had widelands even crash as a result of this.

Could you check with build16 and see whether we have the same behaviour there or whether this is a regression? (Likely is, otherwise we would have heard about it earlier) I think the main change we have had to the editor this cycle has been the undo/redo system.

Changed in widelands:
importance: Undecided → Medium
_aD (ad-simplypeachy) wrote :

Build 16:
23s to load Editor
25% CPU in use
340Mb private bytes RAM used
Memory leak present when moving mouse

Build 17rc2:
185s to load Editor
100% CPU in use
905Mb private bytes RAM used
Memory leak present when moving mouse

It seems the problem existed in b16, but has become much more pronounced in b17. The excessive RAM usage is what probably caused the reporter to notice it.

_aD (ad-simplypeachy) wrote :

Also it may be relevant that the poor load times on b17rc seemed to get worse as it loaded:
50% loaded in 48s (24s per 25%)
75% loaded in 100s (33s per 25%)
100% loaded in 185s (46s per 25%)

Changed in widelands:
status: New → Confirmed
milestone: none → build18-rc1
SirVer (sirver) wrote :

Can someone test this again? I think the leaks are gone now and I think this is fixed committed.

Changed in widelands:
status: Confirmed → Fix Committed
_aD (ad-simplypeachy) wrote :

I have tested this with revision 6748 and the editor now behaves as expected.

SirVer (sirver) wrote :

Released in build-18 rc1.

Changed in widelands:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers