Sublime Forum

Freeze on replace all in a large file

#1

Hi,

Sublime always delivered top performance. I have just updated to the newest 3.2, opened large file and tried to perform simple replacement of commas to tabs. There are 109218 matches. Sublime freezes for at least 16 minutes.

Is it normal behaviour or is there something wrong with performance?
I have also checked Atom. It performed the operation in a few minutes. It surprised me as Sublime was always much faster.

If helpful I can attach archived file.

regards
ph

0 Likes

#2

does disabling incremental diffs make a difference?

0 Likes

#3

Thank you for your answer.

Not really. With enabled 119916 matches in the CSV file are processed in 23m13s and with “auto” (effectively disabled) 22m16s.

0 Likes

#4

By way of investigation try setting the syntax of the file you’re working on to ‘Plain Text’.

:slight_smile:

0 Likes

#5

ok thank you qgates for your help

0 Likes

#6

As the file was CSV Sublime has set Plain Text syntax by itself.

0 Likes

#7

I presume ‘highlight matches’ is switched off in the S&R panel? If that’s inadvertently enabled it will slow high volume searches in large files considerably.

0 Likes