VirtualAlloc() failed: [0x00000008] Not enough memory resources are available to process this command.
VirtualAlloc() failed: [0x00000008] Not enough memory resources are available to process this command.
PHP Fatal error: Out of memory (allocated 1405091840) (tried to allocate 100663304 bytes) in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/DependencyResolver/Ru leSet.php on line 83
Fatal error: Out of memory (allocated 1405091840) (tried to allocate 100663304 bytes) in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/DependencyResolver/RuleSet .php on line 83
i have tried this
; Maximum amount of memory a script may consume (128MB)
; http://php.net/memory-limit
memory_limit=512M
As well as tried this
; Maximum amount of memory a script may consume (128MB)
; http://php.net/memory-limit
memory_limit=-1
but the error is same at the time of installing any library by composer in php laravel
Check firstly if you are editing the right php.ini
file, running phpinfo()
via the browser. It will show you php.ini
file path you're using.
If editing this file doesn't work, try to set Composer's memory limit via with the command php -d memory_limit=-1 composer.phar
.
More information here
User contributions licensed under CC BY-SA 3.0