I'm trying to do composer install
in my laravel and suddenly this gave me something like first time to encounter
Tried to increase my memory_limt
from 150M to 2000000000M
But didnt works.
Or I just did it wrong?
Since I had the same problem and you mentioned XAMPP:
Apparently old XAMPP installations (before ~10.2019) only supported 32 bits and with 32 bits there is a automatic memory cap at 2056M, that cannot be exceeded.
Important warning for Windows XAMPP users or 32 bits PHP distributions Unfortunately, if you get this exception when running some script or composer when you are using XAMPP and the amount of max memory of 2056M isn't enough and you still see the exceptions, let me tell you that you are in a big problem as you will need either to optimize your script or if possible, to move on from a 32 bits distribution to a 64 bits distribution instead.
See more here: https://ourcodeworld.com/articles/read/816/how-to-solve-composer-install-update-error-virtualalloc-failed-0x00000008
Meanwhile XAMPP offers a 64 bits version - which solved my problem.
Maybe this helps you or others.
User contributions licensed under CC BY-SA 3.0