Answer the question
In order to leave comments, you need to log in
Is it possible to increase the memory limit of the gitlab runner?
I set up the project according to the instructions https://docs.gitlab.com/ee/ci/examples/laravel_wit...
Everything is fine, but recently the tests began to fall with an error
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in ...
Answer the question
In order to leave comments, you need to log in
Firstly, in the paid plan, you will have more minutes for the runner, but there will be no more memory.
Second, the out-of-memory error is not a runner error. This is a PHP error.
I don't know which container you are using, but I think the solution to the problem is to increase the memory_limit in the PHP config:
memory_limit = 512M
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question