If you have an error, that’s asking you to go to this link for memory issues.
Troubleshooting — Composer
This is a list of common pitfalls on using Composer and how to avoid them. Before asking anyone, run composer diagnose…
First, check the actual memory limit from you php.ini file. I had mine set to 512M. If you are unable to find the PHP memory file. Here is the exact location.
memory_limit = 4096Mupload_max_filesize = 512post_max_size = 512M
Update the following file, and you’re all set.