[Digikam-devel] [Bug 273077] Generate Fingerprints gets slower and slower

Marcel Wiesweg marcel.wiesweg at gmx.de
Thu Jun 23 12:24:03 BST 2011


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





--- Comment #9 from Marcel Wiesweg <marcel wiesweg gmx de>  2011-06-23 13:24:02 ---
There is another possibility: May be there is no memory leaks, but some
structure is increasing in size (still small memory-wise) but is hugging CPU.
To find that, "callgrind" will help. It is key to start callgrind without
measurements (digikam runs at almost normal speed), provoke the bug, and when
the CPU usage is high, enable instrumentation:
valgrind --tool=callgrind --instr-atstart=no digikam
(make CPU usage go up)
callgrind_control -i on
(collect one or two minutes of CPU)
callgrind_control -k
(kills digikam, dumps output)
Output is to be analysed with kcachegrind

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list