Skip to content
This repository was archived by the owner on Dec 7, 2025. It is now read-only.
This repository was archived by the owner on Dec 7, 2025. It is now read-only.

PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted #38

@ajabusch

Description

@ajabusch

Hi I followed the instructions in the readme, but I got an error at

composer install 

within the container.

    PHP Fatal 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 223

    Fatal 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 223

    Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for more info on how to handle out of memory errors.

Setting
memory_limit = -1
in php.ini in the container might help, not sure where exactly, there isn no /etc/php...

My workaround was to execute "composer install" from the host inside the "back-end" folder

But then I got:

    Script cache:clear returned with error code 1
    !!  
    !!  In ArrayNode.php line 327:
    !!                                                                                 
    !!    Unrecognized options "dir_name, namespace" under "doctrine_migrations". Ava  
    !!    ilable options are "all_or_nothing", "check_database_platform", "connection  
    !!    ", "custom_template", "em", "factories", "migrations", "migrations_paths",   
    !!    "organize_migrations", "services", "storage".                                
    !!                                                                                 
    !!  
    !!  
    Script @auto-scripts was called via post-install-cmd

My workaround was to execute

    composer recipes:install --force -v
    composer install 

from the host inside the "back-end" folder

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions