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
8 months agoJaleesa
8 months agoQueen
8 months agoElouise
9 months agoBen
9 months agoCarli
9 months agoLaurel
9 months agoCamellia
10 months agoGail
10 months agoAlyce
10 months agoDong
10 months agoRebecka
10 months agoLeota
10 months agoMica
10 months agoEdward
10 months agoDelmy
10 months agoTora
10 months agoFranchesca
1 year agoMaricela
1 year agoStanton
1 year agoCordelia
1 year agoMari
1 year agoMalcom
1 year agoDorthy
1 year agoLoren
1 year 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