How Can I Diagnose an OOM Error and Automatically Rerun the Workflows In Case of One?

This topic was automatically generated from Slack. You can find the original thread here.

Along the same lines as the above thread, .Is there anyway to fully diagnose an OOM error? I am getting them sporadically on workflows. (ones that do not use Google Cloud like my last thread was about) It isn’t consistent, but I had a couple today randomly and it they are mostly text manipulation and filters with one call to Gorgias. When I rerun them, they work.

Is there an easy way to say “rerun if OOM”?

If you process error events (as discussed here), it might be possible to conditionally re-launch the workflow if the error is an OOM error.

Thanks!