gPhotoShow runs out of memory while scanning folders

Post your questions, bug reports and feature requests here
steodatus
Posts: 10
Joined: Sun Feb 07, 2016 8:01 am

gPhotoShow runs out of memory while scanning folders

Postby steodatus » Sun Feb 07, 2016 8:18 am

Hello,
I have gPhotoShow Pro 7.3.0 build 787 running on a windows 10 pro system configured with a set of folders mounted from a samba server. These folders altogether contain more than 4 million pics.
After the screen saver kicks in while the folders are being scanned, I get an error dialog with an 'out of memory' message. It's pretty obvious that cutting down on the number of pics will resolve the issue but is there another way around it?
I find it hard to believe that 32GB of memory are not enough. At a guess, this is a 32 bit program that runs out of allocated (allocatable?) memory while building the file list.

I apologize if this a duplicate but when I try to search for this topic, I get an answer saying that the words 'out', 'of', and 'memory' are not searchable because they are encountered too often.

steodatus

User avatar
gpb
Site Admin
Posts: 406
Joined: Mon Dec 19, 2011 1:23 am

Re: gPhotoShow runs out of memory while scanning folders

Postby gpb » Sun Feb 07, 2016 10:01 am

Hello,
gPhotoShow Pro is a 32bit program so it has a 2Gb memory limit, 4 millions of images could be handled by the program only if the memory allocation is below 2Gb.
I think the only solution is to reduce the number of pictures.
Gianpaolo Bottin
gPhotoShow.com

steodatus
Posts: 10
Joined: Sun Feb 07, 2016 8:01 am

Re: gPhotoShow runs out of memory while scanning folders

Postby steodatus » Sun Feb 07, 2016 10:03 am

That is not the best of news.
Are you planning on releasing a 64 bit version?

User avatar
gpb
Site Admin
Posts: 406
Joined: Mon Dec 19, 2011 1:23 am

Re: gPhotoShow runs out of memory while scanning folders

Postby gpb » Mon Feb 08, 2016 10:40 am

x64 version is not planned for now, the problem is only due to a third party library I am using, it requires an additional license for the x64 version and it is rather expensive.
Gianpaolo Bottin
gPhotoShow.com

steodatus
Posts: 10
Joined: Sun Feb 07, 2016 8:01 am

Re: gPhotoShow runs out of memory while scanning folders

Postby steodatus » Mon Feb 08, 2016 1:02 pm

oh, well. i appreciate the quick answers. just of curiosity, which library are you talking about?

User avatar
gpb
Site Admin
Posts: 406
Joined: Mon Dec 19, 2011 1:23 am

Re: gPhotoShow runs out of memory while scanning folders

Postby gpb » Mon Feb 08, 2016 3:49 pm

The software is SoftwarePassport, I am using it to protect the program from reverse engineering and handle registration keys. SoftwarePassport has been discontinued so sooner or later I will have to switch to another system and when it will happen I will think about getting also the 64bit license but for now I can't say when it will happen.
Gianpaolo Bottin
gPhotoShow.com

steodatus
Posts: 10
Joined: Sun Feb 07, 2016 8:01 am

Re: gPhotoShow runs out of memory while scanning folders

Postby steodatus » Tue Feb 09, 2016 12:10 am

Ahhh, I understand.
I am more of an open source dude so I never thought about that type of library but it does make sense.

Thank you for the information

steodatus
Posts: 10
Joined: Sun Feb 07, 2016 8:01 am

Re: gPhotoShow runs out of memory while scanning folders

Postby steodatus » Wed Feb 10, 2016 4:25 am

Gianpaolo,
Besides too many files, what else could trigger this problem?
I've cut down on the files to about 3 million and the number of folders down to about 11,000. The whole thing is configured to load the files recursively from a single directory on a mapped network drive. The recursion depth is rarely more than 2; there are only 2 folder trees that go 4 or 5 deep. I've enabled logging and I am going to dump the log here once it gets populated. Is there a way to increase the log level?

I use the same folder for wallpaperSS and that one doesn't exhibit the problem.

The share used by the images folder is subject to some contention; there are 3 other clients using it at the same time together with the server itself and there is a real-time backup service running against it. Could this have anything to do with the problem?

There is an error in the windows applications log about gphoto but it doesn't look related. Let me know if I should post the event here.

steodatus
Posts: 10
Joined: Sun Feb 07, 2016 8:01 am

Re: gPhotoShow runs out of memory while scanning folders

Postby steodatus » Wed Feb 10, 2016 4:29 am

I forgot to mention in my last post that the first time the screen saver kicked in with that configuration, it worked with no problems but every time after that, it raised the out of memory error.

User avatar
gpb
Site Admin
Posts: 406
Joined: Mon Dec 19, 2011 1:23 am

Re: gPhotoShow runs out of memory while scanning folders

Postby gpb » Wed Feb 10, 2016 9:00 am

There is a known issue with Nikon raw files codec (nef files), it doesn't release all used memory and gPhotoShow quickly goes out of memory. Also damaged or malformed exif tags could cause this issue.
Which gPhotoShow version are you using ? How many monitors do you have ? Version 7 uses much less memory than version 6, the same is for WallpaperSS, version 4 uses less memory than version 3.
In any case a log file from gPhotoShow could help to find the issue, you can send me a pm or an email (the icon near "Contact" on the right of this post) with the log.
Gianpaolo Bottin
gPhotoShow.com


Return to “gPhotoShow Pro (Photo Screen Saver and Slideshow Maker)”

Who is online

Users browsing this forum: No registered users and 3 guests