Orion terminates after few hours with "MemoryError" although there is plenty of RAM space left

Hello,

I’m running two relatively simple and lightweight flow-runs periodically. Those two flow runs rely on distinct code, and the error occurs even if only one of them is deployed.

The error message seems relatively arbitrary, as it shows a lot of Orion functions terminating, all coming back to MemoryError. It seems my RAM is not sufficient, although I have 64 GB.

Monitoring the flow runs, the RAM usage is usually fairly stable at 16 GB.

As the MemoryError occurs independent of the deployments ran, I suspect there might be an issue with Orion itself.

I’m using Python 3.1.1 and Prefect 2.7.

I would be glad for any hint :slightly_smiling_face: