memory leak on linux

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

Moderator: Dreamer

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

memory leak on linux

Post by rmtk » Mon Jan 13, 2020 5:24 pm

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: 32498
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: memory leak on linux

Post by xnview » Tue Jan 14, 2020 11:15 am

do you reproduce?
Pierre.

rmtk
Posts: 151
Joined: Tue Dec 07, 2010 2:04 am

Re: memory leak on linux

Post by rmtk » Wed Jan 15, 2020 2:19 pm

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: 32498
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: memory leak on linux

Post by xnview » Fri Jan 17, 2020 12:12 pm

how many files do you have?
Pierre.

rmtk
Posts: 151
Joined: Tue Dec 07, 2010 2:04 am

Re: memory leak on linux

Post by rmtk » Fri Feb 07, 2020 1:03 pm

500-1500 in a folder

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

Re: memory leak on linux

Post by xnview » Sat Feb 08, 2020 4:23 pm

rmtk wrote:
Fri Feb 07, 2020 1:03 pm
500-1500 in a folder
Strange. big files?
Pierre.

rmtk
Posts: 151
Joined: Tue Dec 07, 2010 2:04 am

Re: memory leak on linux

Post by rmtk » Sun Feb 09, 2020 1:00 pm

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: 32498
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: memory leak on linux

Post by xnview » Sun Feb 09, 2020 1:45 pm

you start XnViewMP, browse this folder, and wait thumbnails generation?
Pierre.

rmtk
Posts: 151
Joined: Tue Dec 07, 2010 2:04 am

Re: memory leak on linux

Post by rmtk » Thu Feb 13, 2020 2:30 am

after some more test I think memory leak accurs mostly during photo editing, instead of thumbnail generating.

rmtk
Posts: 151
Joined: Tue Dec 07, 2010 2:04 am

Re: memory leak on linux

Post by rmtk » Sat Feb 15, 2020 3:00 am

catalog optimizing also uses 2gb+ memory and never release after finished

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

Re: memory leak on linux

Post by xnview » Tue Feb 18, 2020 2:17 pm

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

Post Reply