Is there are memory limit for algos?

My current algo is running endless simulation, until a hard timeout check (5.8sec)
and then spits out the best result.
At this match though…

it works well untill turn 64, then starts progresivile go over the 6,7,8 seconds, and does not send any units:

I tested it locally and all was fine.
IF there is a memory limitation … my current code can definitely hit it …

Investigating this today/tommorow

Sorry, it turns out it was a stupid error in my code

Regardless, there is a memory limit but right now it’s not defined. I would be interested in setting a specific limit at some point if it seems reasonable.