[RC5] Not caching as expected

Bugs and Issues in 1.82 Test versions which have been fixed and verified as resolved.

Moderators: helmut, XnTriq, xnview

Locked
Olive
Posts: 215
Joined: Wed Oct 06, 2004 9:18 pm
Location: Marseille
Contact:

[RC5] Not caching as expected

Post by Olive »

Size is not a problem for me, speed is very important. So I decided to cache my pictures once and for all. I've got 2519 files and 56 folders in D:\My Pictures
The most convenient way I found was to search *.* in My Pctures (include subfolders) then click View.

That being done, I don't see any subfolders in options->cache, only My Pictures with ~2587 (not always the same number!) images in it. (screenshot)

Same result if I selected Compression=none BUT then xnview always crashes at startup, it will crash until I delete the cache folder :(

(win xp sp2)
User avatar
xnview
Author of XnView
Posts: 46257
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: [RC5] Not caching as expected

Post by xnview »

Olive wrote:Size is not a problem for me, speed is very important. So I decided to cache my pictures once and for all. I've got 2519 files and 56 folders in D:\My Pictures
The most convenient way I found was to search *.* in My Pctures (include subfolders) then click View.

That being done, I don't see any subfolders in options->cache, only My Pictures with ~2587 (not always the same number!) images in it. (screenshot)

Same result if I selected Compression=none BUT then xnview always crashes at startup, it will crash until I delete the cache folder :(
Perhaps a problem, could you try to view with the browser your folder and all subfolder first. Wait that all thumbnails are created.
And after take a look at Options/Browser/Cache
Pierre.
Olive
Posts: 215
Joined: Wed Oct 06, 2004 9:18 pm
Location: Marseille
Contact:

Post by Olive »

Yes, in fact I think there was 2 different things in my post:

First, you see it on the screenshot, caching via search did not really work, and it didn't do the expected "full caching" because when I open a subfolder it gets cached again.

Second, I'm not sure about this, but it seems that xnview will crash when the cache exceeds a certain size. Selected "compression: lossless" and no problem to view all the folders one by one (final cache size = 18.6 MB), but in "compression: none" it crashed near the end (the cache size was 30.8 MB then).
Olive
Posts: 215
Joined: Wed Oct 06, 2004 9:18 pm
Location: Marseille
Contact:

Post by Olive »

Hmm not so simple... I increased thumbs size (120x90 instead of 90x69) and no crash (cache was more than 35 MB though)
I could be wrong again, but it looks like the crash only occurs when "compression: none" was chosen :?:
Can you reproduce or is it just me??
Olive
Posts: 215
Joined: Wed Oct 06, 2004 9:18 pm
Location: Marseille
Contact:

Post by Olive »

Perhaps it helps: win xp event viewer always reports the same fault address (0x00020c83).
Event Type: Error
Event Source: Application Error
Event Category: None
Event ID: 1000
Date: 10/8/2004
Time: 6:09:05 PM
User: N/A
Computer: COMPY
Description:
Faulting application xnview.exe, version 1.74.0.0, faulting module xnview.exe, version 1.74.0.0, fault address 0x00020c83.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 41 70 70 6c 69 63 61 74 Applicat
0008: 69 6f 6e 20 46 61 69 6c ion Fail
0010: 75 72 65 20 20 78 6e 76 ure xnv
0018: 69 65 77 2e 65 78 65 20 iew.exe
0020: 31 2e 37 34 2e 30 2e 30 1.74.0.0
0028: 20 69 6e 20 78 6e 76 69 in xnvi
0030: 65 77 2e 65 78 65 20 31 ew.exe 1
0038: 2e 37 34 2e 30 2e 30 20 .74.0.0
0040: 61 74 20 6f 66 66 73 65 at offse
0048: 74 20 30 30 30 32 30 63 t 00020c
0050: 38 33 0d 0a 83..
User avatar
xnview
Author of XnView
Posts: 46257
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

Olive wrote:Hmm not so simple... I increased thumbs size (120x90 instead of 90x69) and no crash (cache was more than 35 MB though)
I could be wrong again, but it looks like the crash only occurs when "compression: none" was chosen :?:
Can you reproduce or is it just me??
Ok, i'll check.
Pierre.
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

Perhaps this info helps:

I have set caching compression to "None", thumbnails to large size (768x576) and browsed some directories, one with about 150 images.

Then I checked the thumbnail cache: Size was 191 MB (so larger than 32 MB).
User avatar
xnview
Author of XnView
Posts: 46257
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

helmut wrote:Perhaps this info helps:

I have set caching compression to "None", thumbnails to large size (768x576) and browsed some directories, one with about 150 images.

Then I checked the thumbnail cache: Size was 191 MB (so larger than 32 MB).
And no problem?
Pierre.
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

xnview wrote:
helmut wrote:Perhaps this info helps:

I have set caching compression to "None", thumbnails to large size (768x576) and browsed some directories, one with about 150 images.

Then I checked the thumbnail cache: Size was 191 MB (so larger than 32 MB).
And no problem?
Pierre.
No problems. No crash. Just the caching of the very large thumbnails was not much faster or even slower than reading the originals. But 768x576 pixel large thumbnails are very unusual - I think.
Olive
Posts: 215
Joined: Wed Oct 06, 2004 9:18 pm
Location: Marseille
Contact:

Post by Olive »

Often happens when I click the +/- in the folder tree (and compession none), for example D:\my pictures\foo\bar\ is expanded and then I click on the - beside my pictures.
Could be some files it doesn't accept, or Win XP (SP2) only, or because my xnview (cache included) folder isn't on C: (D: partition)... I'll try and investigate more when I've got the time :)
Locked