Last active
March 16, 2021 13:45
-
-
Save adamzero1/2a680766138c8e5bbf2caddc908e9207 to your computer and use it in GitHub Desktop.
Export Out Of Memory
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- Model/Export/Product.php 2021-03-16 13:35:33.809000000 +0000 | |
+++ Model/Export/Product.php 2021-03-16 13:36:09.819832268 +0000 | |
@@ -949,8 +949,9 @@ | |
$productIds = array_keys($rawData); | |
$stockItemRows = $this->prepareCatalogInventory($productIds); | |
+ $entityCollection = clone $this->_getEntityCollection(); | |
$this->rowCustomizer->prepareData( | |
- $this->_prepareEntityCollection($this->_entityCollectionFactory->create()), | |
+ $entityCollection, | |
$productIds | |
); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"extra": { | |
"patches": { | |
"magento/module-catalog-import-export": { | |
"Export out of memory (https://github.com/magento/magento2/pull/32493)": "patches/export_out_of_memory_issue.patch" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment