Adobe AD0-E704 Exam - Topic 8 Question 30 Discussion
A Magento site is experiencing an issue where a fatal out of memory error occurs during a custom bulk catalog import process. Here is the code:
C) Use a \Magento\Framework\Model\ResourceModel\iterator to walk through the collection row-by-row
A) Call Magento\Framework\Data\Collection: setMemoryLimit to increase PHP's memory limit
B) Inject an instance Of Uagento\Catalog\model\ResourceModel\Product\IteratingCollectionFactory into your code instead
D) UseMagento\Model\Entity\Collection\AbstractCollection: :setPage to iterate through the collection in chunks
Carmen
7 months agoJaleesa
7 months agoQueen
7 months agoElouise
7 months agoBen
7 months agoCarli
8 months agoLaurel
8 months agoCamellia
8 months agoGail
8 months agoAlyce
8 months agoDong
8 months agoRebecka
8 months agoLeota
8 months agoMica
8 months agoEdward
8 months agoDelmy
8 months agoTora
9 months agoFranchesca
1 year agoMaricela
1 year agoStanton
1 year agoCordelia
12 months agoMari
12 months agoMalcom
12 months agoDorthy
1 year agoLoren
12 months agoCristal
1 year agoMartina
1 year agoJeannine
1 year agoTyra
1 year agoCasie
1 year agoDaniel
1 year agoJimmie
1 year agoLaurena
1 year agoJimmie
1 year agoElliot
1 year agoReita
1 year agoElliot
1 year ago