Also, u could try check the /metrics endpoint, I made a dashboard which u. can see stats for this.
This could help, but u can also use console.log to print.
You could also try limit the amount you process see if this changes and stops the crashing of the node.
also after a quick look at the code node,
this const endOfSentence = text.lastIndexOf(/[.!?]\s/, tentativeEnd);
may not place nicely in n8n and you could try using
with .slice()
and .match()
instead of lastIndexOf()
Hope this helps