-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Composer is losing memory_limit when starting process without xdebug #6004
Comments
@johnstevenson I think this is an edge case we did not entirely take into account.. |
@alcohol Not so much not taken into account, but more didn't know what to do with I'm afraid! We don't have direct access to user-supplied php params so it would be a case of second guessing what options might be used. There are various things you can do to compare a current ini setting to what is in an ini file but it is not going to be foolproof. |
I did a quick fix for the memory_limit for now. I don't know if we really need to support all ini settings or not.. I kinda doubt there are a lot in wide use, but memory_limit is kinda critical here. |
When I run this command:
I get the following output:
And I expected this to happen:
Reason:
Composer is starting new process without memory_limit and uses default one (1G):
The text was updated successfully, but these errors were encountered: