Earlier quoted context omitted.
Manipulating complex data structures that are large and/or trying to manage long running processes cause memory leaks. I often find I have to jump through hoops I don't have to in other languages to deal with these kinds of problems, for instance. I usually have to resort to queues, which just adds complexity where I typically don't want it.
> Manipulating complex data structures that are large I do assume it's not the case, but one of the footguns with PHP is that assigning around large variables/arrays and triggering the copy-on-write can end building up the amount of duplicates of that data being kept alive. Pass by reference, unsets, generators and the like aren't used super often due to a lot of runs being small stateless requests, but sometimes the…
Ultimately I’ve had less issues with Python for this type of workload and is eventually where we moved.