Druk Excep Limit
Druk Excep Limit
Total number of SOQL queries issued for each Apex 100 SOQL queries for synch Apex or
transaction 200 for asynchronous Apex.
Total number of records retrieved by a single SOQL 50,000 for synch Apex or
queries for each Apex transaction 50,000 for asynchronous Apex.
Total number of SOSL queries issued 20 for synch Apex or
20 for asynchronous Apex.
Total number of records retrieved by a single SOSL 2,000 for synch Apex or
queries for each Apex transaction 2,000 for asynchronous Apex.
Total number of DML statements issued 150 for synch Apex or
150 for asynchronous Apex.
Total number of records processed as a result of DML 10,000 for synch Apex or
statements, Approval.process, or 10,000 for asynchronous Apex.
database.emptyRecycleBin
Total stack depth for any Apex invocation that recursively 16 for synch Apex or
fires triggers due to insert, update, or delete statements 16 for asynchronous Apex.
Total number of callouts (HTTP requests or web services 100 for synch Apex or
calls) in a transaction 100 for asynchronous Apex.
Maximum cumulative timeout for all callouts (HTTP 120sec for synch Apex or
requests or Web services calls) in a transaction 120sec for asynchronous Apex.
Maximum number of methods with the future annotation 50 for synch Apex or
allowed per Apex invocation for asynchronous Apex:
0 in batch and future context;
50in queueable context
Maximum number of Apex jobs added to the queue with 50 for synch Apex or
System.enqueueJob 1 for asynchronous Apex.
Total number of sendEmail methods allowed 10 for synch Apex or
10 for asynchronous Apex.
Maximum CPU time on the Salesforce servers 10,000 milisec for synch Apex or
60,000 milisec for asynchronous Apex.
Maximum execution time for each Apex transaction 10 minutes for synch Apex or
10 minutes for asynchronous Apex.
Maximum number of push notification method calls 10 for synch Apex or
allowed per Apex transaction 10 for asynchronous Apex.
Maximum number of push notifications that can be sent in 2,000 for synch Apex or
each push notification method call 2,000 for asynchronous Apex.
Apex cursors limits include Maximum number of rows per cursor: 50 million
Maximum number of fetch calls per transaction: 10
Maximum number of cursors per day: 10,000
Maximum number of rows per day (aggregate limit): 100 million
Strona 1
Arkusz1
LimitException A governor limit has been exceeded. This exception can’t be caught.
This exception is thrown if you try to access items that are outside
the bounds of a list. This exception is used by the Iterator next
method. For example, if iterator.hasNext() == false and you call
iterator.next(), this exception is thrown. This exception is also used
by the Apex Flex Queue methods and is thrown if you attempt to
NoSuchElementException access a job at an invalid position in the flex queue.
NullPointerException Any problem with dereferencing null, such as in the following code:
Strona 2
Arkusz1
Strona 3