Governor Limits articles
26 articles · What the per-transaction limits are and how code hits them.
Safely Deploy AI-Written Salesforce Code
AI coding tools speed development up and bring their own risks: metadata complexity, shallow tests, hard-coded sandbox...
Stateful Batch Apex: Should You Cache Picklist Values?
Holding metadata like picklist values in stateful variables looks like a free performance win, and it brings...
Calling Apex Methods to Create Records in Loops from LWC
Bulk record creation from a Lightning Web Component: why looping Apex calls is an anti-pattern, and what a bulkified...
InsProductService getRatedProducts Limitations Explained
Where InsProductService.getRatedProducts runs out of room in Salesforce Industries, and the payload, caching, and async...
Email Limits: DailyWorkflowEmails vs SingleEmail Explained
Salesforce email limits follow the recipient type, so the tool you send from (Flow, Apex, anything else) does not...
Beating 6MB Apex Heap Limit: Native Document Generation
An architecture that generates PDFs with embedded images and large record sets inside Apex governor limits. Binary data...
Dynamic SOQL in Loops: Security Review Impact for Managed Packages
Dynamic SOQL inside a loop does not fail Salesforce Security Review for a managed package, because the scan treats it...
Managing Salesforce Large Data Volumes - Performance Guide
If your Salesforce org feels like it's wading through molasses, large data volumes are usually why. Here is what breaks...
How to Stay Under Asynchronous Apex Limits in Salesforce
Ever hit a 'Too many future calls' error right before a big deployment? It happens to the best of us, and it usually...
Apex vs Flow - When to Use Code Over Salesforce Automation
We've all heard the 'Flow First' mantra, but sometimes you want the power of code. Here is where I stop building Flows...
Asynchronous Apex in Salesforce - When to Use Each Type
Ever hit a CPU limit while writing a trigger? Asynchronous Apex moves the heavy work into the background so your users...
What is Apex Hammer? Load Testing for Salesforce Developers
Wondering whether your code will break under pressure? Apex Hammer helps you simulate heavy traffic and find hidden...