I tried to 5 times to make an edit to the file but it crashed every time, so I now have to make edits with a different editor on that file.
later edit - this happened while trying to add an embed with ![[#^typing-ref...]]
Concerns
reindexing the whole file is unnecessary
reindexing on individual keystrokes is unnecessary. At a minimum it should be at word or paragraph
I changed the title to describe the request rather than the problem it addresses (was “Unnecessary full reindexing at each keystroke causing out-of-memory crashes on large files”).