Execution Governors and Limits Per-Transaction Apex Limits Flashcards
Total number of SOQL queries issued?
Synchronous Limit = 100
Asynchronous Limit = 200
Total number of records retrieved by SOQL queries?
50,000
Total number of records retrieved by Database.getQueryLocator
10,000
Total number of SOSL queries issued
20
Total number of DML statements issued2
150
Total number of records processed as a result of DML statements, Approval.process, or database.emptyRecycleBin
10,000
Total stack depth for any Apex invocation that recursively fires triggers due to insert, update, or delete statements3
16
Total number of callouts (HTTP requests or web services calls) in a transaction
100
How many standard objects are in Salesforce?
399 standard objects
Maximum cumulative timeout for all callouts (HTTP requests or Web services calls) in a transaction
120 seconds
Maximum number of methods with the future annotation allowed per Apex invocation
50
Maximum number of Apex jobs added to the queue with System.enqueueJob
50
Total number of sendEmail methods allowed
10
Total heap size4
Synchronous Limit = 6 MB
Asynchronous Limit = 12 MB
Maximum CPU time on the Salesforce servers5
Synchronous Limit = 10,000 milliseconds
Asynchronous Limit = 60,000 milliseconds