Which technique may...
 
Notifications
Clear all

Which technique may reduce heap size?

1 Posts
1 Users
0 Likes
88 Views
Gonzalo
(@kossmangonzalo)
Noble Member
Joined: 7 months ago
Posts: 356
Topic starter  

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
  • B . Move the variable definition inside the scope of the function
  • C . Use static variables instead of instance variables
  • D . Use SOQL for loops instead of standard SOQL queries

Show Answer Hide Answer

Suggested Answer: D

   
Quote
Share: