Bug 374896 - Baloo gets stuck indexing git repositories
Summary: Baloo gets stuck indexing git repositories
Status: RESOLVED FIXED
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Pinak Ahuja
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-11 06:55 UTC by lukebenes
Modified: 2018-11-26 20:10 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 5.47
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lukebenes 2017-01-11 06:55:08 UTC
Steps to reproduce:
1. $ git clone https://github.com/Antergos/Cnchi.git
2. logout/login
3. $ balooctl status
4. $ top
5  $ rm -rf Cnchi 
6. $ rm -rf ~/.local/share/baloo/
7. logout/login
8. $ balooctl status

I left my computer with only 3GB of RAM running over night after cloning a repo. In the morning it was thrashing swap so hard, it was nearly impossible to use. Adding the repo to the "Do not Search List" was a temp. workaround. 

There must be a memory leak in baloo_file_extractor, because it was taking up nearly all of my systems RAM. It also uses 100% of CPU time. 

$ uname -a
Linux arch 4.8.13-1-ARCH #1 SMP PREEMPT Fri Dec 9 07:43:17 CET 2016 i686 GNU/Linux
Comment 1 Nate Graham 2018-11-26 20:10:57 UTC
Almost certainly fixed by https://cgit.kde.org/baloo.git/commit/?id=7529727e46242d2fdd71c4e8c92363600373fcb6 in KDE Frameworks 5.47.

If you can still reproduce the issue with KDE Frameworks 5.47 (or preferably 5.52 or later), please re-open the bug. Thanks!