SUMMARY STEPS TO REPRODUCE 1. 2. 3. OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: MacOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
Sorry, I missclicked. SUMMARY Lokalize utilizes a full core at 100% when opening any PO file. STEPS TO REPRODUCE 1. Start Lokalize 2. Project Summary loads, normal CPU usage 3. When opening a .po file from the Project Summary, it will start to load the translation memory. Once it's loaded, the program will keep utilizing a full core until the file is closed. OBSERVED RESULT High CPU usage when opening a translation file EXPECTED RESULT Normal CPU usage when opening a translation file. Strace shows lots of polling, reads and writes whenever a file is opened. SOFTWARE/OS VERSIONS Windows: MacOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.14.4 KDE Frameworks Version: 5.52.0 Qt Version: 5.11.2
Created attachment 116693 [details] The STRACE of lokalize when the bug happens, with timestamps
Created attachment 116696 [details] Lokalize in HTOP using 100% of a core
Created attachment 116697 [details] Lokalize in KSysGuard
Hello, Could you try with the latest 18.12 version, does it still happen ? It might also have to do with the translation memory.
(In reply to Simon Depiets from comment #5) > Hello, > Could you try with the latest 18.12 version, does it still happen ? > It might also have to do with the translation memory. I just compiled the 19.03.70 version straight from Git, still happens, a full core is constantly used. I deleted the translation memory and glossary, no change in CPU usage. Every time a file is opened it just spikes up, no matter how big the file is. I tested in two different computers and was able to reproduce easily. Both computers are using Manjaro KDE 18.0 with Kernel 4.19.6-1-MANJARO.
Can you still reproduce this?
As of version 19.08.03 it does no longer happen.
Thanks!