Bug 356176

Summary: After starting my computer baloo_file gets a memory leak.
Product: [Frameworks and Libraries] frameworks-baloo Reporter: noah <noahdessauer>
Component: Baloo File DaemonAssignee: Pinak Ahuja <pinak.ahuja>
Status: RESOLVED DUPLICATE    
Severity: grave CC: aspotashev, christoph, noahdessauer, pinak.ahuja
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 5.18
Sentry Crash Report:

Description noah 2015-12-01 23:18:38 UTC
Every time I start the computer and login baloo_file starts to take up all my memory and then swap 16gb  in total. Until the memory fills the cpu is at 100% after that it drops down but the memory and swap usage from baloo_file don't seam to ever go down. This kills performance making it almost impossible to do anything if I don't kill baloo_file first.
Comment 1 noah 2015-12-07 23:26:05 UTC
so I restarted my computer again and it is still doing this.
Comment 2 noah 2015-12-09 01:24:25 UTC
just logging out and then in triggers it.
Comment 3 Vishesh Handa 2015-12-14 23:08:33 UTC
Could you please run baloo under massif and provide us with a massif file? This will give us information about the part of Baloo which is consuming a lot of memory.

1. Install debug symbols for Baloo (and Qt if possible)
2. pkill baloo_file
3. valgrind --tool=massif baloo_file
Comment 4 Vishesh Handa 2015-12-14 23:12:32 UTC
Git commit 9b17d81b5152d28eba80b4b67fbda2ca5da41054 by Vishesh Handa.
Committed on 14/12/2015 at 23:09.
Pushed by vhanda into branch 'master'.

SearchStore: Gracefully handle empty term values

This happens on calling the baloosearch executable with an empty string
or a few spaces.
FIXED-IN: 5.18

M  +3    -0    src/lib/searchstore.cpp

http://commits.kde.org/baloo/9b17d81b5152d28eba80b4b67fbda2ca5da41054
Comment 5 Vishesh Handa 2015-12-14 23:14:53 UTC
The commit doesn't fix the bug. I pasted the wrong bug number.
Comment 6 noah 2015-12-15 07:21:24 UTC
I can no long do anything related to this bug I have moved to a manjaro based gnome system after a simple apt-get upgrade killed sddm and kde to a unrecoverable state.
Comment 7 Christoph Cullmann 2016-09-11 21:16:36 UTC

*** This bug has been marked as a duplicate of bug 359119 ***