https://bugs.kde.org/show_bug.cgi?id=458980
Bug ID: 458980 Summary: Large mbox eats the whole memory Product: Akonadi Version: unspecified Platform: Gentoo Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: MBox Resource Assignee: kdepim-bugs@kde.org Reporter: tus...@kazv.moe Target Milestone: --- SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** A large (351M) mbox will make akonadi eats all system memory. STEPS TO REPRODUCE 1. Get a large mbox file. (I got it from gmail export) 2. Add it as a receiving account in KMail. (Configure -> Accounts -> Receiving -> Add... -> Custom account -> mbox) 3. Reboot OBSERVED RESULT Memory usage is very high, using almost all memory (I have 16 GB), system becomes very laggy. After `akonadictl stop`, the memory usage goes down immediately. EXPECTED RESULT It should not use up a lot of memory. For a comparison, mutt uses only 39M of memory opening the mbox. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: 5.18.12-gentoo-x86_64 (available in About System) KDE Plasma Version: 5.25.5 KDE Frameworks Version: 5.97.0 Qt Version: 5.15.5 ADDITIONAL INFORMATION -- You are receiving this mail because: You are the assignee for the bug.