please check
[mtwostar@sip4-1134 html]$ php bin/ubdatamigration run
Processing in step #2…Step #2 migration completed successfully
Total Data Migrated: 71%
Processing in step #3…Step #3 migration completed successfully
Total Data Migrated: 71%
Processing in step #4…Step #4 migration completed successfully
Total Data Migrated: 71%
Processing in step #5…Step #5 migration completed successfully
Total Data Migrated: 71%
Processing in step #6….[Processing] Step #6 migration completed with 1 Customers
Processing in step #6…Step #6 migration completed successfully
Total Data Migrated: 71%
Processing in step #7…..PHP Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 20480 bytes) in /chroot/home/mtwostar/m2.star15.com/html/pub/ub-tool/yii-1.1.19/db/ar/CActiveRecord.php on line 1869
PHP Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 20480 bytes) in /chroot/home/mtwostar/m2.star15.com/html/pub/ub-tool/yii-1.1.19/logging/CLogger.php on line 340
[mtwostar@sip4-1134 html]$ php bin/ubdatamigration run --step=7
Processing in step #7…..PHP Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 20480 bytes) in /chroot/home/mtwostar/m2.star15.com/html/pub/ub-tool/yii-1.1.19/db/ar/CActiveRecord.php on line 1869
8 answers
Hi there,
Processing in step #7…..PHP Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 20480 bytes) in /chroot/home/mtwostar/m2.star15.com/html/pub/ub-tool/yii-1.1.19/db/ar/CActiveRecord.php on line 1869
That issue because your server has limit of the memory limit on PHP CLI environment. Let’s try continue to run data migration in the step #7 use below CLI command:
php -dmemory_limit=-1 -f bin/ubdatamigration run --step=7
And tell me know how it goes then.
Regards,
Mall.
I tried this
1.
[mtwostar@sip4-1134 html]$ php -f bin/ubdatamigration run --step=7
Processing in step #7…..PHP Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 20480 bytes) in /chroot/home/mtwostar/m2.star15.com/html/pub/ub-tool/yii-1.1.19/db/ar/CActiveRecord.php on line 1869
2.
[mtwostar@sip4-1134 html]$ php bin/ubdatamigration run --step=7
Processing in step #7…..PHP Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 20480 bytes) in /chroot/home/mtwostar/m2.star15.com/html/pub/ub-tool/yii-1.1.19/db/ar/CActiveRecord.php on line 1869
3.
[mtwostar@sip4-1134 html]$ php bin/ubdatamigration run --step=7 --limit=200
Processing in step #7…..PHP Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 20480 bytes) in /chroot/home/mtwostar/m2.star15.com/html/pub/ub-tool/yii-1.1.19/db/ar/CActiveRecord.php on line 1869
ok I run it and here’s what I got
……………………………………….[Processing] Step #7 migration completed with 36 Sales Orders;
Processing in step #7…Step #7 migration completed successfully
Total Data Migrated: 100%
Hi there,
Let’s continue with data migration in the step #8 by run CLI command:
php -dmemory_limit=-1 -f bin/ubdatamigration run --step=8
Regards,
Mall.
[mtwostar@sip4-1134 html]$ php -dmemory_limit=-1 -f bin/ubdatamigration run --step=8
Processing in step #8…Step #8 migration completed successfully
Total Data Migrated: 100%
Hi there,
Lets continue with other steps as indicated in the guide of our tool in Readme.html (included in your downloaded package)
Regards,
Mall.
thank you!
Hi there,
Yeah, let’s contact me if you need further assistance.
Regards,
Mall.