Issue with Composer Using Magento Data Migration Tool

Logesh K

Member
Jun 25, 2015
11
0
1
Namakkal, TamilNadu, India
cPanel Access Level
Root Administrator
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.
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
Thread starter Similar threads Forum Replies Date
T Transfers 3
V Transfers 3
S Transfers 1
R Transfers 1
nitaish Transfers 13