function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Madhu CommunityMadhu Community 

How to overcome Governerlimits?Soluting for Governerlimits?


You can't overcome governor limits, you have to work within them.


Do you have any particular limits that you are breaking.



You can't overcome salesforce governor limit but you can do things in a proper way to avoid this.
Salesforce having different limits for different thing. Like in apex you can’t use more than 100 SOQL query, can’t use more than 150 dml operation etc.Please take care of these things while coding:
1. Never make any soql,dml operation inside the loop.
2. Try to use less script statement.
3. Use batch apex if you are working for more than 50000 records.
4. use @future whenever needed.
There are many ore which you will know as you work .


Your post is helpfull,can you please give me some more examples with explanation for how to overcome Governerlimits.