Thursday, March 30, 2017

php artisan commands: Out of memory

I get the following error messages after waiting about ~10 sec when using the following laravel command (The out of memory error appears in any other php artisan command aswell):

php artisan make:controller CardController --resource

What can go wrong? I already used laravel before and everything worked fine.

c:\xampp\htdocs\my-server>php artisan make:controller CardController --resource

VirtualAlloc() failed: [0x00000008] Not enough storage is available to process this command.


VirtualAlloc() failed: [0x00000008] Not enough storage is available to process this command.

PHP Fatal error:  Out of memory (allocated 1587544064) (tried to allocate 402653192 bytes) in C:\xampp\htdocs\my-server\vendor\laravel\framework\src\Illuminate\Container\Container.php on line 579

Fatal error: Out of memory (allocated 1587544064) (tried to allocate 402653192 bytes) in C:\xampp\htdocs\my-server\vendor\laravel\framework\src\Illuminate\Container\Container.php on line 579



via TheUnreal

Advertisement