Bug 342410

Summary: search with multiple words in search term uses a lot of memory
Product: [Applications] kmail2 Reporter: Martin Tlustos <martin.tlustos>
Component: searchAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 5.9.1   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:

Description Martin Tlustos 2015-01-02 09:22:08 UTC
When performing a search over all folders with a search term that has several words in it, there are a couple of problems:
1) it seems that these words are searched for in an "OR" manner, yielding way too many results
2) probably because of that, memory usages spikes
3) The memory is not freed after closing the search dialog, resulting in huge memory consumption after a couple of searches.

Reproducible: Always




tested both from within kontact and kmail only.
Comment 1 Martin Tlustos 2018-10-08 08:52:34 UTC
still valid
Comment 2 Justin Zobel 2022-12-01 04:34:48 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 3 Martin Tlustos 2022-12-01 15:05:56 UTC
It seems to be still valid, although the memory consumption isn't as bad anymore (around 700MB after a search, and doesn't seem to be rising after multiple searches any more)