- https://integration.wikimedia.org/ci/job/mediawiki-core-php70-phan-docker/26004/console
- https://integration.wikimedia.org/ci/job/mediawiki-core-php70-phan-docker/25995/console
- https://integration.wikimedia.org/ci/job/mediawiki-core-php70-phan-docker/25992/console
My guess is that the job is sharing a node with something else that uses a lot of memory? IIRC we had optimized this for CPU, not memory...don't really remember.
I did try running the job once manually and watching the memory usage on the server with top but no other job was running on the node, so phan worked just fine and didn't OOM.