memory leak on linux

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

Moderator: Dreamer

Post Reply
rmtk
Posts: 154
Joined: Tue Dec 07, 2010 2:04 am

memory leak on linux

Post by rmtk »

It seems that there is a memory leak problem in recent versions of XnviewMP linux. When I view or edit photos in a folder containing hundreds of photos, all system memory (4gb in my computer) was eaten up in several minutes.
User avatar
xnview
Author of XnView
Posts: 34421
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: memory leak on linux

Post by xnview »

do you reproduce?
Pierre.
rmtk
Posts: 154
Joined: Tue Dec 07, 2010 2:04 am

Re: memory leak on linux

Post by rmtk »

Yes, always. Sometimes it took just several minutes to eat up all memory, sometimes up to a hour.
User avatar
xnview
Author of XnView
Posts: 34421
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: memory leak on linux

Post by xnview »

how many files do you have?
Pierre.
rmtk
Posts: 154
Joined: Tue Dec 07, 2010 2:04 am

Re: memory leak on linux

Post by rmtk »

500-1500 in a folder
User avatar
xnview
Author of XnView
Posts: 34421
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: memory leak on linux

Post by xnview »

rmtk wrote: Fri Feb 07, 2020 1:03 pm 500-1500 in a folder
Strange. big files?
Pierre.
rmtk
Posts: 154
Joined: Tue Dec 07, 2010 2:04 am

Re: memory leak on linux

Post by rmtk »

Just normal JPEGs taken by a DSLR, size 5~10MB.
It seems that it relates to thumbnail generating. I can see the memory usage of Xnview expands significantly after finish generating thumbnails of a new folder containing a lot of photos. After editing, new thumbnails generated and more memory used.
User avatar
xnview
Author of XnView
Posts: 34421
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: memory leak on linux

Post by xnview »

you start XnViewMP, browse this folder, and wait thumbnails generation?
Pierre.
rmtk
Posts: 154
Joined: Tue Dec 07, 2010 2:04 am

Re: memory leak on linux

Post by rmtk »

after some more test I think memory leak accurs mostly during photo editing, instead of thumbnail generating.
rmtk
Posts: 154
Joined: Tue Dec 07, 2010 2:04 am

Re: memory leak on linux

Post by rmtk »

catalog optimizing also uses 2gb+ memory and never release after finished
User avatar
xnview
Author of XnView
Posts: 34421
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: memory leak on linux

Post by xnview »

i don't see any memory leaks, you can have the sqlite engine that takes more and more memory...
Pierre.
Post Reply