Fatal error: Out of memory (allocated 897581056) (tried to allocate 117440512 by tes) in phar:

-2

Getting this error while executing composer require sentry/sentry-symfony

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

VirtualFree() failed: [0x000001e7] Attempt to access invalid address. Fatal error: Out of memory (allocated 897581056) (tried to allocate 117440512 by tes) in phar://C:/composer/composer.phar/src/Composer/DependencyResolver/RuleSet .php on line 90

This error only occurs in Symfony bundles. I tried this package on laravel, composer command executed successfully.

I searched a lot for this error, got a result for increasing memory_limit in php.ini by 2G or infinite (-1), but didn't work. I have 8GB of RAM in my system, I don't know why this error occurs.

php
symfony
asked on Stack Overflow Sep 16, 2019 by Kamlesh Kumar • edited Sep 16, 2019 by Kampai

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0