I have been trying to use the Magento Data Migration Tool with Composer and I am facing Fatal Error - Out of Memory error.
Giving below the error message.
Can someone help me on what to do, I have already Googled and didn't find any solution.
Note: The server have 16GB RAM, 6GB SWAP Partition and PHP Memory Limit set to 5GB.
Giving below the error message.
Code:
composer require magento/data-migration-tool:2.2.6
./composer.json has been updated
Loading composer repositories with package information
mmap() failed: [12] Cannot allocate memory
Fatal error: Out of memory (allocated 344379392) (tried to allocate 20480 bytes) in phar:///usr/local/bin/composer/src/Composer/Json/JsonFile.php on line 270
Can someone help me on what to do, I have already Googled and didn't find any solution.
Note: The server have 16GB RAM, 6GB SWAP Partition and PHP Memory Limit set to 5GB.