Loading...


Related Products


How do I resolve a Composer memory limit error during code build?

Description

Build stageJobError messageCategoryResponsibility
Build DrupalBuild CodeFatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar:///usr/local/bin/composer/src/ Composer/DependencyResolver/Solver.php on line 201.ApplicationCustomer

Potential cause

The application uses an older version of the Drupal Starter Kits project template, which causes a Composer memory limit error.

Solution

Confirm that your application meets the following best practices:

  • From composer.json, remove the lines that point to the old Drupal Starter Kits project template. Drupal Starter Kits utilizes the Acquia Drupal recommended project.
  • Commit composer.lock.
  • Use Composer 2.
  • Analyze the delta between a working composer.lock and the failing composer.lock.

Did not find what you were looking for?

If this content did not answer your questions, try searching or contacting our support team for further assistance.

Back to Section navigation