Open
Description
Warning
This is more important since Loopback Request Support landed as we're now creating more PHP instances.
PHP is currently compiled to allocate 1024M of memory when it boots, and it limits the number of Playgrounds you can run concurrently especially on low-resource devices:
Let's see how low can we go while still keeping 256M available for running requests.
Importantly, MEMFS files are also kept at heap. I wonder what else is.
Resources
Discussions related to measuring memory usage
- https://github.com/WordPress/wordpress-playground/wiki/Performance-testing-resources
- Run on Cloudflare Workers #69