Bug 507449

Summary: Do not allow running multiple instances.
Product: [Applications] digikam Reporter: HubMiner <cal030>
Component: Faces-EngineAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: 8.7.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In: 8.8.0
Sentry Crash Report:

Description HubMiner 2025-07-24 16:00:37 UTC
PROPOSAL:
do not allow to multiple instances of DK - be default restrict to a single instance.

WHY:
DK is memory and CPU heavy, asking multiple instances is asking for problems.  Other instances become lugging and freeze.  Each instance launches its own copy of MariaDB, possibly trying to access DB files simultanously.

If there are cases when running multiple app instances are desired, image and DB access should be controlled across the instances, and the ""allow multiple instances"" should be a configurable option.

REPRODUCTION STEPS:
- run digikam 3 times, 30 seconds pause in between.
- Process Explorer shows 3 instances are running.
Comment 1 Maik Qualmann 2025-07-24 18:29:02 UTC
In digiKam-8.7.0, the memory is not released at the end, which is why multiple instances are visible in the process manager. This has been fixed in digiKam-8.8.0.

Pre-release version available here:

https://files.kde.org/digikam/

Maik