Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No memory limit on install #205

Merged

Conversation

Quetzacoalt91
Copy link
Member

When installing PS with all the languages (for instance on https://github.com/PrestaShop/docker-internal-images/), it appeared in the logs that we use too much memory to complete the installation.

To allow the docker images to be built properly, we temporarily apply a memory_limit=-1 for the installation script.

* Launching the installer script...
[91mPHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 106496 bytes) in /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Translation/Loader/XliffFileLoader.php on line 253
[0m
[91mPHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 69632 bytes) in /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php on line 165
[0m
Removing intermediate container e5bbea367397
The command '/bin/sh -c service mysql start && /tmp/docker_run.sh' returned a non-zero code: 255

@Quetzacoalt91 Quetzacoalt91 merged commit afd56be into PrestaShop:master Jan 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants