I'm getting an allowed memory size error when trying to install this module using "drush composer-manager update --no-dev". Any ideas how to fix this? Thanks

Comments

markabur created an issue. See original summary.

Perignon’s picture

Status: Active » Postponed (maintainer needs more info)

That is a PHP problem with not enough memory available to use. Drupal and Drush require a lot of memory to be available.

https://www.drupal.org/docs/7/managing-site-performance-and-scalability/...

markabur’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Thanks, actually it was that more memory needs to be available for command-line PHP, not necessarily for the PHP that Drupal/webserver use. Composer is a pain, very difficult to troubleshoot when it isn't working right.

Perignon’s picture

Gotcha. Yes, Drush requires a lot of extra memory. See I am a Composer fan :-D

Sahil Gupta’s picture

You can use a module to control this memory limit as well. PHP Runtime Configurator module provides many options to configure without changing your php.ini file and restart Apache.
You can configure following parameters:

- File Upload Limit
- Memory Limit
- Maximum Execution Time Limit
- Maximum Input Variable Limit

jayemel’s picture

I feel like composer should not require so much memory to download and install a module.