December 26, 2012

Difference between Governor limit and Heap limit in Salesforce

Governor Limit
If some Apex code ever exceeds a limit, the associated governor issues a run time exception that cannot be handled.
Apex run time engine strictly enforces a number of limits to ensure that runaway Apex does not monopolize shared resources. 

Heap limit
The allocation of memory storage for use in a computer program during the runtime of that program.
When you create objects in your Apex code, memory is allocated to store these objects.

No comments:

Post a Comment