Workflow Python Memory Error

I am trying out workflows using this example: Building data insights brick-by-brick with Retool Workflows

When I try to import Seaborn into my script it crashes with a memory error before I've even done anything with the library so it seems like something is breaking on the backend. Is anyone else experiencing this?

The error says "Memory Error (Line: 3)" - Line 3 is where seaborn is imported.

Update: The python script works if I disconnect my data so I think this is related to my previous step which returns 56,000 rows. I realise memory usage is restricted but how much I've used is not clear.