<coroutine not found: stack trace truncated: stackBuf is too small>

I am facing the error when running large amount of workflows (1M+)
<coroutine not found: stack trace truncated: stackBuf is too small>

any suggestions?

Consider reducing the cache size:

Thank you. What is the recommended size. we are currently using

worker.SetStickyWorkflowCacheSize(20000)

It heavily depends on the workflow implementation. Experiment with a small number to see if it fixes the issue and then try increasing it until the host is saturated.