Search code examples
phplaravel-4.2

Php artisan command Run out memory with 32Gb of RAM


I have in DigitalOcean a droplet of 32Gb ram with 12 CPU (resize for occasion)

I run php artisan command (laravel 4.2) which never ran. What could be happening? Ram monitoring

And the error message after more than 10 minutes: enter image description here


Solution

  • I answer my own question, with the help of @aynber and @MartinBarker

    I solved the problem droping the current database, updating composer (composer update in my local and pushing composer.lock which contain the updates to the server, in the server run composer install with sudo (is not recommendable use sudo with composer.) and runing sudo php artisan.