[Digikam-devel] [digikam] [Bug 338176] Face Recognition memory allocation crash application

Ritesh Raj Sarraf via KDE Bugzilla bugzilla_noreply at kde.org
Tue Oct 20 14:30:42 BST 2015


https://bugs.kde.org/show_bug.cgi?id=338176

--- Comment #74 from Ritesh Raj Sarraf <kde-bugs at researchut.com> ---
Commenting here since my bug was duplicated to this bug.

Given the dependencies that digikam has, it would be much wiser for digikam to
have an option (or in my opinion, have that as default) to restrict its
consumption of memory to a defined limit.

For CPU and IO, it can be tricky. But please, for memory, you definitely can do
that in-app. There is no good experience to the user, when by the system
reports, it shows that digikam has eaten all your memory. Ideally this should
have been intelligently handled by Linux, but until then, can you have
something in the application itself ?

For most users: if you run into massive memory consumption, please try the
following

prlimit --pid 26286 --rss=2465792000

In the above example the process ID of digikam is restricted memory to 2 GiB.
And my face detection scan worked like a charm after that trick.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list