I don't know how to use valgrind, but here is an attempt: $ valgrind --num-callers=20 --leak-check=full -v /usr/bin/gnome-typing- monitor
.... ==20900== LEAK SUMMARY: ==20900== definitely lost: 2,076 bytes in 2 blocks. ==20900== indirectly lost: 120 bytes in 10 blocks. ==20900== possibly lost: 178,952 bytes in 251 blocks. ==20900== still reachable: 3,292,475 bytes in 28,700 blocks. ==20900== suppressed: 0 bytes in 0 blocks. ==20900== Reachable blocks (those to which a pointer was found) are not shown. ==20900== To see them, rerun with: --show-reachable=yes --20900-- memcheck: sanity checks: 1927 cheap, 78 expensive --20900-- memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use --20900-- memcheck: auxmaps: 0 searches, 0 comparisons --20900-- memcheck: SMs: n_issued = 526 (8416k, 8M) --20900-- memcheck: SMs: n_deissued = 237 (3792k, 3M) --20900-- memcheck: SMs: max_noaccess = 65535 (1048560k, 1023M) --20900-- memcheck: SMs: max_undefined = 59 (944k, 0M) --20900-- memcheck: SMs: max_defined = 810 (12960k, 12M) --20900-- memcheck: SMs: max_non_DSM = 406 (6496k, 6M) --20900-- memcheck: max sec V bit nodes: 2374 (120k, 0M) --20900-- memcheck: set_sec_vbits8 calls: 17515 (new: 2374, updates: 15141) --20900-- memcheck: max shadow mem size: 6920k, 6M --20900-- translate: fast SP updates identified: 92,602 ( 90.6%) --20900-- translate: generic_known SP updates identified: 6,581 ( 6.4%) --20900-- translate: generic_unknown SP updates identified: 2,945 ( 2.8%) --20900-- tt/tc: 1,169,359 tt lookups requiring 6,206,647 probes --20900-- tt/tc: 1,169,359 fast-cache updates, 7 flushes --20900-- transtab: new 59,972 (1,293,295 -> 21,956,546; ratio 169:10) [0 scs] --20900-- transtab: dumped 0 (0 -> ??) --20900-- transtab: discarded 209 (3,839 -> ??) --20900-- scheduler: 192,720,405 jumps (bb entries). --20900-- scheduler: 1,927/3,506,447 major/minor sched events. --20900-- sanity: 1928 cheap, 78 expensive checks. --20900-- exectx: 30,011 lists, 13,280 contexts (avg 0 per list) --20900-- exectx: 576,121 searches, 571,710 full compares (992 per 1000) --20900-- exectx: 4,306,383 cmp2, 1,392 cmp4, 0 cmpAll -- gnome-typing-manager takes up way too much memory https://launchpad.net/bugs/58127 -- desktop-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
