Page 1 of 1

0.84b1: RAM usage for creating a catalog

Posted: Sun Nov 27, 2016 2:56 pm
by masterjp
I have an archiv of digital photos (round about 60.000 photos) from my digital cameras (5-18 megapixels).
All files are in different directories within one directory. With all versions of xnview mp (0.8x) I have a problem with "out of memory".
XnView MP waste RAM!The memory usage for database setting does not limit the memory usage. My PC has 16 GB RAM and no swap file.

I wanted to add the directory of my photo archive and after minutes the memory usage of xn-view mp is at 10 GB RAM.
After my PC RAM is totally used, the xn-view mp runs "out of memory" and crash.

The whole thumbnails cache is only 400-700 MB.

Why does XnView MP waste so much RAM for creating thumbnails?

I am using the following settings:

Lossy (HighQuality) - WEBP
Width = 192 Pixel
Height = 144 Pixel

Maximal size for cached thumbnails = 2.000 MiB
Memory usage for database = 2.048 MiB

Re: Xn-View MP - RAM usage for creating a catalog

Posted: Tue Nov 29, 2016 4:05 pm
by xnview
masterjp wrote: Why does XN-View MP waste so much RAM for creating thumbnails?
By default, XnViewMP load all thumbnails in RAM. So how many files do you have in the browser?
Do you have tried to disable settings>Thumbnail>Create for whole folder?

Re: Xn-View MP - RAM usage for creating a catalog

Posted: Tue Nov 29, 2016 8:50 pm
by masterjp
I do not use the browser to generate the thumbnails of my pictures.

I used followings steps:

Menue Tools => Settings => catalog (on the left side) => add folder ...

Re: Xn-View MP - RAM usage for creating a catalog

Posted: Wed Nov 30, 2016 8:59 am
by xnview
masterjp wrote:Menue Tools => Settings => catalog (on the left side) => add folder ...
Oh ok, are there only picture files in your folders (no videos, PDF, ...)?

Re: XnView MP: RAM usage for creating a catalog

Posted: Wed Nov 30, 2016 6:21 pm
by masterjp
There are max.10 videos in the folders. The size of the video files are max. 200 MB.

Re: XnView MP: RAM usage for creating a catalog

Posted: Wed Nov 30, 2016 9:43 pm
by jadO

Re: XnView MP: RAM usage for creating a catalog

Posted: Fri Dec 02, 2016 8:12 am
by xnview
See Issue 1033 for details.

Re: XnView MP: RAM usage for creating a catalog

Posted: Mon Dec 19, 2016 5:19 am
by helmut
This problem is supposed to be fixed in XnView MP 0.84 beta 3. Could you please try and confirm the bug fix, masterjp?

Re: 0.84b1: RAM usage for creating a catalog

Posted: Sat Jan 07, 2017 5:05 pm
by masterjp
The thumbnail creating button in settings menue let XnView MP directly crash if I want to generate thumbnails of my big picture folders. :-(
XnView MP 0.83 does not crash in my comparison.

Re: 0.84b1: RAM usage for creating a catalog

Posted: Mon Jan 09, 2017 8:01 am
by xnview
are you able to reproduce this crash each time?