we have shown governor limits in salesforce.
Governor Limits
- Total number of SOQL queries issued synchronous limit is 100 and Asynchronous Limit 200.
- Total number of records retrieved by SOQL queries is 50,000.
- Total number of records retrieved by Database.getQueryLocator is 10,000.
- Total number of SOSL queries issued is 20.
- Total number of records retrieved by a single SOSL query is 2,000.
- Total number of DML statements issued is 150.
- Total number of records processed as a result of DML statements, Approval.process, or database.emptyRecycleBin is 10,000.
- Total number of callouts (HTTP requests or Web services calls) in a transaction is 100.
- Maximum cumulative timeout for all callouts (HTTP requests or Web services calls) in a transaction is 120 seconds.
- Total heap size is 6 MB in synchronous and 12 MB in Asynchronous.
- Maximum CPU time on the Salesforce servers is 10,000 milliseconds to 60,000 milliseconds.
- Maximum execution time for each Apex transaction is 10 minutes.
- Maximum number of push notification method calls allowed per Apex transaction is 10.
- Maximum number of push notifications that can be sent in each push notification method call is 2000.
- Total stack depth for any Apex invocation that recursively fires triggers due to insert, update, or delete statements is 16.
- Maximum number of Apex jobs added to the queue with System.enqueueJob is 50 in synchronous and 1 in Asynchronous .
- Total number of sendEmail methods allowed is 10
- Total number of SOQL queries issued in Cumulative Cross-Namespace Limit is 1,100.
- Total number of records retrieved by Database.getQueryLocator in Cumulative Cross-Namespace Limit is 110,000.
- Total number of SOSL queries issued in Cumulative Cross-Namespace Limit is 220.
- Total number of DML statements issued in Cumulative Cross-Namespace Limit is 1,650.
- Total number of callouts (HTTP requests or Web services calls) in a transaction in Cumulative Cross-Namespace Limit is 1,100.
- Total number of sendEmail methods allowed in Cumulative Cross-Namespace Limit is 110.
- Default timeout of callouts (HTTP requests or Web services calls) in a transaction in static apex limit is 10 seconds.
- Maximum size of callout request or response (HTTP request or Web services call) in static apex limit is 6 MB for synchronous Apex or 12 MB for asynchronous Apex.
- Maximum SOQL query run time before Salesforce cancels the transaction in static apex limit is 120 seconds.
- Maximum number of class and trigger code units in a deployment of Apex in static apex limit is 5,000.
- Apex trigger batch size in static apex limit is 200.
- For loop list batch size in static apex limit is 200.
- Maximum number of records returned for a Batch Apex query in Database.QueryLocator in static apex limit is 50 million.
No comments:
Post a Comment