function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
I am new to Salesforce.comI am new to Salesforce.com 

Apex heap limit.

Explain Apex heap limit...

 

 

Thanks,

SFDC_Learner

bob_buzzardbob_buzzard

In order to understand heap, I'd suggest this article:

 

http://www.maxi-pedia.com/what+is+heap+and+stack

 

taking a very simplistic view, the heap is the memory that your code consumes during a transaction.  The Apex heap limit ensures that in a multi-tenant environment, one tenant does't take up too much of the total heap and leave everyone else at a disadvantage.