ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 367 - Certified Platform Developer II discussion

Report
Export

Refer to the code below:

When the code runs, it results In a System Limit Exception with the error message: Apex heap size too large.

What should be done to fix this error'

A.
Use a SOQL for loop to process the data.
Answers
A.
Use a SOQL for loop to process the data.
B.
Convert the Lis: into a 5tc.
Answers
B.
Convert the Lis: into a 5tc.
C.
Use Limits.getLimitHeapSize().
Answers
C.
Use Limits.getLimitHeapSize().
D.
Use a try/catch block to catch the error.
Answers
D.
Use a try/catch block to catch the error.
Suggested answer: C
asked 23/09/2024
Ian Gothard
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first