chilio / laravel-dusk-ci

Docker Test suite for Laravel Dusk in gitlab CI
MIT License
159 stars 51 forks source link

Memory limit? #76

Closed HugoHeneault closed 8 months ago

HugoHeneault commented 9 months ago

Hi there,

I started encountering :

Allowed memory size of 134217728 bytes exhausted (tried to allocate 33585608 bytes)

In my app and was wondering if/where I could change the memory limit?

THanks

chilio commented 9 months ago

Hi @HugoHeneault which image do you use?

HugoHeneault commented 8 months ago

I'm using

chilio/laravel-dusk-ci:php-8.2

Fixed it by adding:


    - echo "memory_limit = 4096M" >> /etc/php/8.2/cli/php.ini
    - echo "memory_limit = 4096M" >> /etc/php/8.2/fpm/conf.d/10-memory-limit.ini

before start-nginx-ci-project

HugoHeneault commented 8 months ago

Closing as a solution exists :)