Governor Limits

Governors Limits

Because Apex runs in a multitenant environment, the Apex runtime engine strictly enforces limits to ensure that runaway Apex code or processes don’t monopolize shared resources. If some Apex code ever exceeds a limit, the associated governor issues a runtime exception that cannot be handled.
}

Few Important Governor Limits for Apex Transaction
Total number of SOQL queries issued is 100 for Synchronous
Total number of SOQL queries issued is 200 for Asynchronous

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 timeout for all callouts (HTTP requests or Web services calls) in a transaction is 120 seconds
Maximum number of methods with the future annotation allowed per Apex invocation is 50
Maximum number of Apex jobs added to the queue with System.enqueueJob is  50
Total heap size is 6 MB for Synchronous and 12 MB for Asynchronous
Maximum execution time for each Apex transaction is 10 minutes