There are some tasks in laravel that a
php artisan would just be enough.
But there are tasks that would just consume the php config
You can always update your
php.ini file and increase the
memory_limit=1G for example or you can do this in your
php -d memory_limit=1G heavy_script.php
php -d memory_limit=1G artisan command:name