Page 1 of 1
100% cpu load on exiting viewing mode
Posted: Thu Mar 20, 2008 10:18 am
by larsen
Hello,
when I open an image via doubleclick in windows explorer (opens fullscreen, no browser) and then press ESC to close XnView I get 100% cpu load, the XnView window opens and it needs several seconds to close. Screenshot:
http://i31.tinypic.com/20zyc6r.png
This happens when there are ~100 files (mostly no images) in the directory. It doesn´t happen when the opened image is the only one in that folder. Thumbnail caching is disabled.
Win XP SP2.
Is this a XnView or configuration problem? Which parts should I check?
Lars
Re: 100% cpu load on exiting viewing mode
Posted: Thu Mar 20, 2008 10:56 am
by xnview
Could you try to disabled option 'read ahead'?
Posted: Thu Mar 20, 2008 11:05 am
by larsen
I couldn´t find this option. Where is it?
Posted: Thu Mar 20, 2008 2:32 pm
by xnview
larsen wrote:I couldn´t find this option. Where is it?
Option/View/Misc/Cache
Posted: Thu Mar 20, 2008 2:45 pm
by larsen
Without that option checked, it´s ok. Should XnView read one image ahead when I close the program?
Posted: Thu Mar 20, 2008 2:56 pm
by xnview
larsen wrote:Without that option checked, it´s ok. Should XnView read one image ahead when I close the program?
So xnview is reading a picture when you close, perhaps you have big picture file?
Posted: Thu Mar 20, 2008 3:05 pm
by larsen
The one I have opened has 8kb. There are some PDFs < 60kb and another jpg with 141kb.
I guess it is opening a non-picture file where I have several others (e.g. rar with 35mb).
But why is XnView reading another file when I close the program? I would assume that it only closes the window.
Posted: Thu Mar 20, 2008 3:36 pm
by xnview
larsen wrote:
But why is XnView reading another file when I close the program? I would assume that it only closes the window.
No, you open xnview, a thread that reading next picture, you close, so a delay before the thread quit
Posted: Thu Mar 20, 2008 5:00 pm
by larsen
Ah, yes. It´s also ok when I wait 10 seconds (with read ahead enabled). But does XnView read only one image or many? In the first case I wonder why this is so slow regarding the file sizes I already posted.
Posted: Thu Mar 20, 2008 8:09 pm
by xnview
larsen wrote:Ah, yes. It´s also ok when I wait 10 seconds (with read ahead enabled). But does XnView read only one image or many? In the first case I wonder why this is so slow regarding the file sizes I already posted.
When you press PageUp, what is your next picture? A big file?
Posted: Fri Mar 21, 2008 3:45 pm
by larsen
My folder:
1) jpg, 8kb
2) jpg, 138kb
3) other image files
There are several other non-images in that folder. For testing, I open the first one and press ESC.
When I open the second one and press PgUp, it takes some seconds until the first one is shown.