Salesforce DEX-450 Exam - Topic 12 Question 2 Discussion
A developer encounters APEX heap limit errors in a trigger.Which two methods should the developer use to avoid this error? (Choose two.)
A) Use the transient keyword when declaring variables. and D) Use SOQL for loops instead of assigning large queries results to a single collection and looping through the collection.
B) Query and store fields from the related object in a collection when updating related objects.
C) Remove or set collections to null after use.
Cristina
7 months agoXenia
7 months agoGlory
7 months agoMarcos
8 months agoAlecia
8 months agoXuan
8 months agoCherry
8 months agoCeola
8 months agoLatricia
8 months agoChara
8 months agoBeula
8 months agoCorrie
8 months agoMoon
8 months ago