ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 105 - Certified Platform Developer II discussion

Report
Export

A developer encounters an error that states that the Apex heap size is exceeded. Which technique may reduce heap size?

A.
Add the transient keyword to the variable definition
Answers
A.
Add the transient keyword to the variable definition
B.
Move the variable definition inside the scope of the function
Answers
B.
Move the variable definition inside the scope of the function
C.
Use static variables instead of instance variables
Answers
C.
Use static variables instead of instance variables
D.
Use SOQL for loops instead of standard SOQL queries
Answers
D.
Use SOQL for loops instead of standard SOQL queries
Suggested answer: D
asked 23/09/2024
Emily Luijten
46 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first