[Xfce-bugs] [XFCE 0000296]: big backdrop .list files cause xfce-mcs-manage to use way, way too much memory

xfce-bugs at xfce.org xfce-bugs at xfce.org
Mon Aug 30 10:19:40 CEST 2004


The following bug requires your FEEDBACK.
=======================================================================
http://bugs.xfce.org/view_bug_page.php?f_id=0000296
=======================================================================
Reporter:                   indigoid
Handler:                    
=======================================================================
Project:                    XFCE
Bug ID:                     0000296
Category:                   general
Reproducibility:            always
Severity:                   major
Priority:                   low
Status:                     feedback
=======================================================================
Date Submitted:             2004-08-15 18:59 GMT
Last Modified:              2004-08-30 08:19 GMT
=======================================================================
Summary:                    big backdrop .list files cause xfce-mcs-manage to use way, way too much memory
Description: 
I made up (via find -name '*.jpg' >> foo.list) a .list file with about 3500
biggish images in it.  Pressed the edit button.  Waited.  Disk activity
gets worse and worse.  Out of memory.  Oops, I won't try that again :-(
=======================================================================

-----------------------------------------------------------------------
 dannym - 2004-08-15 19:13 GMT 
-----------------------------------------------------------------------
ouch...
which xfce version is it ?

-----------------------------------------------------------------------
 indigoid - 2004-08-15 19:27 GMT 
-----------------------------------------------------------------------
4.0.5.  Didn't see any previous reports for such a bug, though.

-----------------------------------------------------------------------
 kelnos - 2004-08-19 17:57 GMT 
-----------------------------------------------------------------------
i don't use an image list, so i haven't hit this.  there are definitely
some performance issues with image list handling that i need to resolve,
but i'm not so sure that they'll be backported to the 4.0.x branch.

-----------------------------------------------------------------------
 indigoid - 2004-08-20 15:55 GMT 
-----------------------------------------------------------------------
Yep.  I don't think that the aforementioned behaviour is a bug, as such,
but it sure does use way more memory than I expected it to.  It seems to
work ok with much smaller lists.

-----------------------------------------------------------------------
 kelnos - 2004-08-29 00:03 GMT 
-----------------------------------------------------------------------
this works fine in CVS, using an image list file with >2500 images.  memory
usage jumps about a bit while loading the list, but after it's finished,
usage is about the same as before it started.  this is probably a
4.0.x-only bug, and i really don't have the time or inclination to look
into it.  if someone else wants to come up with a patch, that's fine.

-----------------------------------------------------------------------
 davidfraser - 2004-08-30 08:19 GMT 
-----------------------------------------------------------------------
I have tested with a list of about 13000 images
Bringing up the list by saying Edit list ... from the desktop settings
page no longer uses up lots of memory in the CVS version as it used to in
4.0.x
However, it did use up lots of CPU (I waited 10 minutes and then
interrupted it)
Debugging showed that this was happening in
xfdesktop/settings/backdrop-mgr.c in check_image.c - basically all the
images in a list are read into a pixbuf to check that they are valid.
Disabling this code caused the list to come up quickly.

Then I looked in CVS and saw that this has been fixed there :-)



More information about the Xfce-bugs mailing list