Shotwell runs out of memory while importing images to SMB share
Mandatory: Shotwell version the issue was seen with
0.30.10
The expected behaviour
Shotwell should import images and should not crash while doing so.
What was actually happening
I had to reset up my computer and have chosen Ubuntu 20.10.. While I was in the process of reorganizing everything, I thought I'd reorganize my previously partially disorganized photo and video collection from the last few years (all my digital photos - 420 GB) with Shotwell and write them directly to network storage (SMB) so that everyone in the family can access them. Shotwell starts importing the pictures but uses more and more memory during the import until finally all the memory is used and Shotwell crashes. 16 GB RAM are installed in my case. There is a 10+ year old bug report on Launchpad describing something similar: https://bugs.launchpad.net/ubuntu/+source/shotwell/+bug/588569
Steps to reproduce the issue
- Install Shotwell
- Open it and choose a folder with pictures in it to import
- Wait until it crashes