Memory is critically overloaded
I have an AWS EC2 instance with 64GB memory.
My crawler is running in a docker container. The
CRAWLEE_MEMORY_MBYTES
is set to 61440
My docker config
After crawling around 15-20 minutes I receive the warning Memory is critically overloaded
. But when doing the command free -h
I notice I still have a lot of free memory as you can see in the screenshots.
The playwright crawler is configured like this
I'm a bit clueless why I have this issue. In the past I had issues with zombie processes but this was solved by adding the --init
to my docker run command.
Do you have any idea on how I can fix this or further debug this?

3 Replies
Someone will reply to you shortly. In the meantime, this might help:
passive-yellow•3w ago
Hi @ROYOSTI
I recommend you post this situation in the repository, as it could be either another one of the customization features for AWS or a bug in the resource counter.
conventional-tan•2w ago
Could you give us some more info? Specifically what playwright version you're using 👀
And could you try with older playwright, maybe its an issue with the newer versions