Activity › Forums › Salesforce® Discussions › What is heap size in Salesforce Apex?
Tagged: Asynchronous Transaction, Governor Limit, Heap Size, Objects, Salesforce Apex, Synchronous Transaction
-
What is heap size in Salesforce Apex?
Posted by Arun on February 10, 2020 at 12:55 PMWhat is heap size in Salesforce Apex?
Pooja replied 6 years, 4 months ago 5 Members · 4 Replies -
4 Replies
-
Salesforce provides a heap size limit of
- 6MB for synchronous transaction &
- 12 MB for the asynchronous transactions.
-
This reply was modified 6 years, 3 months ago by
Forcetalks.
- [adinserter block='9']
-
Hey,
Salesforce provides a heap size limit of
- Salesforce enforces an Apex Heap Size Limit of 6MB for synchronous transactions.
- Salesforce enforces an Apex Heap Size Limit of 12 MB for the asynchronous transactions.
-
This reply was modified 6 years, 3 months ago by
Forcetalks.
-
The heap size is the amount of memory allocated to objects that are being defined in your Apex code. And Apex code puts in a limit to the total allowed size of the apex heap size. This governor limit is calculated at runtime and depends on how the governor is invoked.
-
This reply was modified 6 years, 3 months ago by
Forcetalks.
-
This reply was modified 6 years, 3 months ago by
-
Heap Size in Salesforce Apex is-
Synchronous transaction = 6MB
Asynchronous transaction = 12 MB-
This reply was modified 6 years, 3 months ago by
Forcetalks.
-
This reply was modified 6 years, 3 months ago by
Log In to reply.