On 19/02/2009 10:16, Olivier Sessink said the following: >> Attached is a patch that should reduce the memory and speed up the >> display of images, it may not be 100% correct yet (lack of rotation and >> using the thumbnails for the full image). >> >> The thumbnails can be generated with the helper "mkimagemrss" and the >> size of the thumbnail can be controlled with: WWW_IMAGE_THUMBNAIL_SIZE. >> >> The patch applied to 1.8.3 with some fuzzy offsets. > > it is a good improvement.I don't get into problem with the > out-of-memory killer anymore on my 512Mb box. Memory usage is now > around 80% when listing a directory with photo's. Do you want a > comparison with the 1.7 series (where I never had any memory > problems?)
No don't need the comparison with 1.7 as kaa.imlib2, which generates the thumbnails wasn't used then. I did notice that all the images are cached for later use but didn't check when they are freed from the cache. Of course caching big images would cause a memory problem. It should be a lot faster too, it takes quite a long time for imlib2 to process a large photo (3072x2048) about 1.5 secs on my P3 box which is a performance killer. Duncan ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users