Bug 436097

Summary: kate stops responding with big file
Product: [Applications] kate Reporter: Germano Massullo <germano.massullo>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kde.podagric, kde
Priority: NOR    
Version: 20.12.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: kate valgrind
affected file

Description Germano Massullo 2021-04-23 15:23:07 UTC
Created attachment 137833 [details]
kate valgrind

1) Open the TXT inside the attached file.
2) press CTRL + END in order to reach the end of the file
3) press CTRl + F and search for tmp
4) Kate will stop responding and increasing RAM usage till you kill the process

I collected output from
$ valgrind --leak-check=full \
           --show-leak-kinds=all \
           --track-origins=yes \
           --verbose \
           --log-file=kate-valgrind-out.txt \
           kate
Comment 1 Germano Massullo 2021-04-23 15:23:49 UTC
Created attachment 137834 [details]
affected file
Comment 2 Michal Humpula 2021-07-16 04:12:03 UTC
Thanks for the report. I believe the observed slowdown was fixed in the latest ktexteditor.
Comment 3 Podagric 2021-07-22 20:45:57 UTC
this has really improved navigation, but there are still slowness issues when copying large selections.
Example: when selecting 40 thousand lines and copying or cutting them to another tab
Comment 4 Michal Humpula 2021-07-23 04:47:50 UTC
Nice. I guess there will be similar issue. IMHO there is no reason why copy should not be fast. The cutting case might be more difficult.