Open ramyak-mehra opened 1 week ago
I'm experiencing the same thing, no crash, but hangs for a while.
Here's a simple steps to reproduce:
(.+)\t(.+)
$2="$1"
Hangs for ~2mins20secs on my machine (Zed v0.133.7, MacOS 13.6.6, Intel, 64GB Memory) before completing successfully.
Check for existing issues
Describe the bug / provide steps to reproduce it
This is a rather specific scenario but i was editing a log file trying to clean it up and there. I selected the lines with regex(not sure if that does make a difference, just in case). I replaced all occurances with a blank line. It hanged for a bit but eventually did the job. I did see the memory spike but the memory usage never came down. I did a couple of similar edits. The edits are in the order of 10s of thousands each time. The final edit crashed the editor. It was close to 200k edits(I know this is a lot ). The last memory usage was close to 6GB. There were other files opened a rust analyzer running.
Environment
Zed: v0.133.7 (Zed) OS: macOS 14.3.0 Memory: 18 GiB Architecture: aarch64
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.I don't see any logs for the previous sessions