Degradation in Python workflow code blocks

I’ve been running a scheduled workflow over the past few months to build a ML model using python code blocks. This has been working well for the past few months, but recent runs has been failing with the error:

”The code terminated for an unknown reason. Potentially, the memory limit 2500 MB was breached."

This was working very well before and I haven’t made any code changes to it. I’ve tested it to test on substantially reduced amount of data, and the issue still persist. Has there been any recent changes in the python code runners that could’ve caused this?

Hi @Marisa_Tjoe! Sorry you’re running into this. Happy to dig in to try and find where the error is coming from. Could you DM me a JSON export of your workflow, your workflowID, and the workflowRunID please? It would be helpful to get the workflowRunID from a run with the error, as well as one where it was working correctly so I can dig into the logs on my end.

To export, you can click on the 3 dots in top right hand corner from the workflow.

If you open run history in bottom left corner, and go into logs, you should see a similar screen to the one below. Highlighted is where you’d find the workflowID and the Run ID is right below it.

Hi Diyaayaq,

I’ve sent through the details of my run through DM. Thanks in advance for looking into it.