0.84b1: RAM usage for creating a catalog

*** Please report new bugs here! ***

Moderator: Dreamer

Post Reply
User avatar
masterjp
Posts: 117
Joined: Fri Feb 13, 2009 4:37 pm
Location: Duesseldorf (Germany)

0.84b1: RAM usage for creating a catalog

Post by masterjp » Sun Nov 27, 2016 2:56 pm

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
OS: Windows 10 Pro x64 | XN-View 2.48 | XN-View MP 0.93.1 | XnConvert 1.80 | Adobe Photoshop Elements 2019 & Elements XXL 6

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

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

Post by xnview » Tue Nov 29, 2016 4:05 pm

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?
Pierre.

User avatar
masterjp
Posts: 117
Joined: Fri Feb 13, 2009 4:37 pm
Location: Duesseldorf (Germany)

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

Post by masterjp » Tue Nov 29, 2016 8:50 pm

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 ...
OS: Windows 10 Pro x64 | XN-View 2.48 | XN-View MP 0.93.1 | XnConvert 1.80 | Adobe Photoshop Elements 2019 & Elements XXL 6

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

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

Post by xnview » Wed Nov 30, 2016 8:59 am

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, ...)?
Pierre.

User avatar
masterjp
Posts: 117
Joined: Fri Feb 13, 2009 4:37 pm
Location: Duesseldorf (Germany)

Re: XnView MP: RAM usage for creating a catalog

Post by masterjp » Wed Nov 30, 2016 6:21 pm

There are max.10 videos in the folders. The size of the video files are max. 200 MB.
OS: Windows 10 Pro x64 | XN-View 2.48 | XN-View MP 0.93.1 | XnConvert 1.80 | Adobe Photoshop Elements 2019 & Elements XXL 6

jadO
Posts: 381
Joined: Wed Apr 29, 2015 6:36 am

Re: XnView MP: RAM usage for creating a catalog

Post by jadO » Wed Nov 30, 2016 9:43 pm


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

Re: XnView MP: RAM usage for creating a catalog

Post by xnview » Fri Dec 02, 2016 8:12 am

See Issue 1033 for details.
Pierre.

User avatar
helmut
Posts: 8153
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: XnView MP: RAM usage for creating a catalog

Post by helmut » Mon Dec 19, 2016 5:19 am

This problem is supposed to be fixed in XnView MP 0.84 beta 3. Could you please try and confirm the bug fix, masterjp?

User avatar
masterjp
Posts: 117
Joined: Fri Feb 13, 2009 4:37 pm
Location: Duesseldorf (Germany)

Re: 0.84b1: RAM usage for creating a catalog

Post by masterjp » Sat Jan 07, 2017 5:05 pm

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.
OS: Windows 10 Pro x64 | XN-View 2.48 | XN-View MP 0.93.1 | XnConvert 1.80 | Adobe Photoshop Elements 2019 & Elements XXL 6

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

Re: 0.84b1: RAM usage for creating a catalog

Post by xnview » Mon Jan 09, 2017 8:01 am

are you able to reproduce this crash each time?
Pierre.

Post Reply