0 votes
in Salesforce by

What are Governor limits in Salesforce?

1 Answer

0 votes
by

  • Governor limits control how much data a shared database can store. They help to make sure that no one monopolizes the shared resources like storage, CPU, and memory. Whenever the Apex code exceeds the limit, it issues a runtime exception that cannot be handled.
  • The following list gives some of the governor limits in Salesforce:
    • Push notification limits
    • Per-Transaction Apex limits
    • Size-Specific Apex limits
    • Miscellaneous Apex limits
    • Static Apex limits
    • Email limits
  • Examples of governor limits in Salesforce:
    • The total number of sendEmail methods permitted is 10.
    • The total number of records retrieved by a SOQL query is 50,000.
    • Maximum CPU time on the Salesforce servers is 10,000ms on synchronous Apex.
    • The total number of callouts(web services calls or HTTP requests) in a transaction is 100.

Related questions

0 votes
asked Nov 25, 2021 in Salesforce by DavidAnderson
0 votes
asked Sep 27, 2022 in Salesforce by SakshiSharma
...