Sublime Forum

maybe find a new bug with find replace unresponsive (appears frozen)

#1

Hello developer,

I encountered an issue during usage and suspect it might be a bug in Sublime Text 4. The details are as follows:

When performing large-scale find-and-replace operations, the application becomes unresponsive (appears frozen) and consumes a significant amount of memory. This occurs with a JSON-formatted file containing approximately 700,000 characters, regardless of whether the content is structured as a single line or split across 13,000 lines.

Specifically, the freeze happens when attempting to replace the very frequently occurring sequence \" with ". Even after running for over 8 hours, the replacement still hasn’t completed successfully.

For verification, I tested the same operation in PilotEdit, which handled the find-and-replace task without any issues.

0 Likes

#2

I just tried regex replacing 112807 occurrences in a 6 million line file and it took about a second. Is it still slow in safe mode?

0 Likes