How to handle Time Limit Exceeded : Your request exceeded the time limit for processing in Salesforce?

How to handle Time Limit Exceeded : Your request exceeded the time limit for processing in Salesforce?

To handle Time Limit Exceeded : Your request exceeded the time limit for processing in Salesforce

1. Cache any data that is frequently accessed, such as icon graphics.

2. Avoid SOQL queries in your Apex controller getter methods.

3. Reduce the number of records displayed on a page by:

a. Limiting the data coming back from SOQL calls in your Apex controllers. For example, using AND statements in your WHERE clause, or removing null results

b. Taking advantage of pagination with a list controller to present fewer records per page

Cheers!!!

Leave a Reply