1.91.5: *Slow* browser performance in *large* folders

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: XnTriq, xnview

Post Reply
The REAL Joe Blow

1.91.5: *Slow* browser performance in *large* folders

Post by The REAL Joe Blow » Wed Oct 17, 2007 1:07 am

This has actually been an issue with *all* versions of XnView to date:

When I bring up the browser on a very large folder, say 500 to 1000 images, XnView brings the system to it's knees, reading something from the drive.

I have checked every possible option and turned off anything that should tell it to read anything from the files:

Browser...Browser...Auto Refresh -> OFF/UNCHECKED
File List...File List... I have ONLY "images" and "Folders" and "Parent Folder" checked
File List...Misc...Recognize only by extension -> CHECKED
File List...Misc...Scan file headers in folders -> NEVER

In the File List's pane I have everything turned OFF except for Name, Size and Date.

With all of this turned off, I would think that XnView would just load the directory listing quickly the same way as the OS does, however it still takes a *very long time* just to load the file list for a folder with around 500-1000 images and/or folders.

With 5000 images, the whole system hangs and XnView shows as 'Not Responding', while the harddrive churns and the light flashes

ACDSee Classic v-2.43 loads these folders in a matter of seconds or less, and never reads anything from the drive, it just flashes the drive light for a brief second while it is loading.

Basically, I would think that there should be some simple setting in XnView to tell it "Don't *ever* read anything except the filelist and show that fast". The way it is, it's unuseable on large folders.

Am I missing something, or can this please be looked at? Like I said, it's been that way for ever.

Thanks,
/The REAL Joe

User avatar
foxyshadis
Posts: 384
Joined: Sat Nov 18, 2006 8:57 am

Post by foxyshadis » Wed Oct 17, 2007 4:20 am

Turn thumbnails off, then, and delete cache/xnview.db just in case. You can do this by unchecking "enable cache" in the thumbnail cache tab.

Guest

Post by Guest » Sun Oct 21, 2007 11:55 pm

That's one of the first things I did before all of the other trouble shooting. It makes no difference. XnView still keeps reading something off the harddrive rather than *just* the directory listing.

/The REAL Joe Blow

User avatar
oops66
XnThusiast
Posts: 1999
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Post by oops66 » Mon Oct 22, 2007 12:16 am

Anonymous wrote:That's one of the first things I did before all of the other trouble shooting. It makes no difference. XnView still keeps reading something off the harddrive rather than *just* the directory listing.
/The REAL Joe Blow
Maybe - check you category.db file :
http://newsgroup.xnview.com/viewtopic.php?t=13676
and here
http://newsgroup.xnview.com/viewtopic.php?t=13642
XnViewMP 0.82 Linux X64 - Ubuntu 16.04 LTS - X64

Guest

Post by Guest » Sat Oct 27, 2007 3:41 am

A simillar situation here...

My HD lamp doesn't flash though, but it takes lots of time to open the browser.
This is some kind of bug.

Not present in previous versions...

User avatar
xnview
Author of XnView
Posts: 32242
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview » Sat Oct 27, 2007 6:27 am

Anonymous wrote:A simillar situation here...

My HD lamp doesn't flash though, but it takes lots of time to open the browser.
This is some kind of bug.

Not present in previous versions...
Which OS?Which version?Do you have tried to remove category.db?
Pierre.

Guest

Post by Guest » Sat Oct 27, 2007 11:43 am

I don't have a category.db file.

Version 1.91.6

I tried in XP SP2 and in 98SE.

P.S. In my 98SE setup I went back to 1.82.4. It's very fast buy I found other shortcomings...

ckit
XnThusiast
Posts: 2445
Joined: Tue Feb 17, 2004 1:11 am

Post by ckit » Sat Oct 27, 2007 11:50 am

XnView always creates a "category.db" file somewhere, run a search for the file from the Start menu in Windows.
Windows 10 Pro x64 1909
XnViewMP and Classic and PhotoFiltre Studio X

Guest

Post by Guest » Sat Oct 27, 2007 5:20 pm

Hm. Yes I found one in
C:\WINDOWS\Application Data\XnView
in my 98se setup.

I erased it and now it is faster.

Guest

Post by Guest » Sat Oct 27, 2007 10:53 pm

You must also erase XnView.db to improve performance.

Guest123654

Post by Guest123654 » Mon Dec 10, 2007 11:29 pm

Do I need to erase these files every time I launch XnView? I recreates them every time I launch. Would it not be better if there was a tick box that said something like:

"Don't ever cache anything or store anything in any database whatsoever" which completely disables this kind of functionality?

I *just* want to use it as a real-time image viewer. I don't *ever* want it to remember anything!

User avatar
oops66
XnThusiast
Posts: 1999
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Post by oops66 » Tue Dec 11, 2007 12:04 am

Guest123654 wrote:Do I need to erase these files every time I launch XnView? I recreates them every time I launch. Would it not be better if there was a tick box that said something like:
"Don't ever cache anything or store anything in any database whatsoever" which completely disables this kind of functionality?
I *just* want to use it as a real-time image viewer. I don't *ever* want it to remember anything!
If you don't use categories and your category.db file size stays at about 7ko~10ko, you do not have to rename/delete it (or each time).
Also erasing XnView.db to improve performance, is not always a good idea (because it's consume time to rebuild the tumbnails) and doesn't affect a lot the Browser opening time.

But your suggestion (a GUI option to disable all local writings) is a good idea (especialy for USB keys).

FYI: To disable the cache (XnView.db):
In xnview.ini:

Code: Select all

...
[Start]
SavingMode=1
ParamsSavingMode=1
[Cache]
SavingMode=1
IsActive=0
see here (but in french):
http://newsgroup.xnview.com/viewtopic.p ... hlight=usb
XnViewMP 0.82 Linux X64 - Ubuntu 16.04 LTS - X64

Post Reply