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
10 months agoJaleesa
10 months agoQueen
10 months agoElouise
10 months agoBen
11 months agoCarli
11 months agoLaurel
11 months agoCamellia
11 months agoGail
11 months agoAlyce
11 months agoDong
11 months agoRebecka
11 months agoLeota
11 months agoMica
11 months agoEdward
12 months agoDelmy
12 months agoTora
12 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