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
10 months agoXenia
10 months agoGlory
10 months agoMarcos
11 months agoAlecia
11 months agoXuan
11 months agoCherry
11 months agoCeola
11 months agoLatricia
11 months agoChara
11 months agoBeula
11 months agoCorrie
11 months agoMoon
11 months ago