Replies: 1 comment 5 replies
-
I would be really shocked if apps are using more than that. That's a pretty sane production number. I've worked on PHP with billions of users accessing our site and our front-end servers had that amount. Our queue consumers had 256mb of memory. I even had to write jobs that iterated over millions of users at a time and it fit comfortably in 256mb of memory. This was in PHP 7.1 days. If you need more than that, you probably have a memory leak or are doing something very strange; at least in my experience. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi again, sorry for flooding the discussions with all my questions 😓
After packing a standalone app, I created a dummy php file doing this:
Running
./my-frankenphp-app php-cli memory-limit.php
reported the usual128M
value to me, which is likely to be insufficient in most apps.Is there a way to feed the build process with a
php.ini
(or even better, to make the standalone app get it at runtime)?Beta Was this translation helpful? Give feedback.
All reactions