Bug 403866

Summary: Baloo uses too much memory
Product: [Frameworks and Libraries] frameworks-baloo Reporter: dag
Component: generalAssignee: baloo-bugs-null
Status: RESOLVED DUPLICATE    
Severity: normal CC: archmizuchi, nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description dag 2019-02-02 16:18:29 UTC
SUMMARY
The baloo file index seems to load the whole index file into memory and thus using huge amounts of memory and crippling the system

STEPS TO REPRODUCE
1. Ask baloo to index your files
2. Check the memory usage with top and note the RES use of baloo_file_indexer
   It seems to use a bot more than the size of the index file.
3. Kill it before it use up all of your memory (I killed it at 2.5GB RES usage)

OBSERVED RESULT
Too much memory used

EXPECTED RESULT
An indexer should use a lot less memory

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 5.42.0
(available in About System)
KDE Plasma Version: 5.12.2
KDE Frameworks Version: 5.42.0
Qt Version: 5.9.4

ADDITIONAL INFORMATION
Comment 2 Antoscha 2019-05-14 09:22:42 UTC

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