thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

Business Platforms & EA · Foundational

Governor Limits

Runtime limits Salesforce enforces per transaction to ensure fair use of shared resources.

Definition

Key synchronous limits include 100 SOQL queries, 150 DML statements, 50,000 rows retrieved, 10,000 rows processed by DML, 10 seconds CPU time, 6 MB heap and 100 callouts. Asynchronous Apex has higher limits for SOQL (200), CPU (60 seconds) and heap (12 MB). Exceeding a limit throws an uncatchable LimitException.

Example

System.LimitException: Too many SOQL queries: 101

Exam tip

Memorize 100 SOQL / 150 DML / 50,000 rows / 10,000 DML rows for synchronous transactions.

Related terms