On Thursday 14 July 2011 08:45:52, Per Jessen wrote:
Tejas Guruswamy wrote:
On 14/07/11 07:08, Per Jessen wrote:
PDF documents for instance can be quite sizeable, is there any reason why I shouldn't set the preview size limit to 100Mb for local files?
To generate a preview the whole file has to be read and parsed. So if you have a directory full of very large files it can be quite slow reading them all, and it would take a lot of memory and cpu time. The "max preview size" tries to give you a way to avoid that.
Thanks Tejas - do you happen to know if the previews are cached? I would basically like to set a very/reasonable high limit to produce previews for virtually everything (to stop users from complaining about inconsistent previews), but if they're not cached, that's out of the question.
I think they are cached in ~/.thumbnails (not sure). However, once the previews are made they always appear immediately. I have set my max size to 75MB, because I have a lot of large files. It doesn't take very long to generate the images, but I have a quite fast computer (Intel i7 950 3GHz, 16 GB Memory). I don't know is if the thumbnails are managed actively (if they are deleted when the file is deleted or changed.) Daniel -- Daniel Bauer photographer Basel Barcelona professional photography: http://www.daniel-bauer.com erotic nudes: http://www.guapamania.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org