Salesforce Menu

Salesforce Governing Limits

There are some specific governor limits in salesforce which are placed by salesforce in apex to maintain the multi-tenant architecture of salesforce.
Please find the list of all the major governor limits in salesforce :

Description Synchronous Limit Asynchronous Limit
Total number of SOQL queries issued in Salesforce 100 200
Total number of records retrieved by SOQL queries in Salesforce 50000 50000
Total number of records retrieved by Database.getQueryLocator in Salesforce 10000 10000
Total number of SOSL queries issued in Salesforce 20 20
Total number of records retrieved by a single SOSL query in Salesforce 2000 2000
Total number of DML statements issued in Salesforce 150 150
Total number of records processed as a result of DML statements, Approval.process, or database.emptyRecycleBin in Salesforce 10000 10000
Total stack depth for any Apex invocation that recursively fires triggers due to insert, update, or delete statements in Salesforce 16 16
Total number of callouts (HTTP requests or web services calls) in a transaction in Salesforce 100 100
Maximum cumulative timeout for all callouts (HTTP requests or Web services calls) in a transaction in Salesforce 120 sec 120 sec
Maximum number of methods with the future annotation allowed per Apex invocation in Salesforce 50 1, only in queueable methods
Maximum number of Apex jobs added to the queue with System.enqueueJob in Salesforce 50 1
Total number of sendEmail methods allowed in Salesforce 10 10
Total heap size in Salesforce 6 MB 6 MB
Maximum CPU time on the Salesforce servers in Salesforce 10,000 milliseconds 60,000 milliseconds
Maximum execution time for each Apex transaction in Salesforce 10 minutes 10 minutes
Maximum number of push notification method calls allowed per Apex transaction in Salesforce 10 10
Maximum number of push notifications that can be sent in each push notification method call in Salesforce 2000 2000
Subscribe Now