Skip to main content
New tool CRON Expression Builder — preview next run times before you schedule Apex. Open the builder →

Governor Limits articles

26 articles · What the per-transaction limits are and how code hits them.

A 3D render visualizing the safe deployment of AI-written Salesforce code with interconnected nodes and glowing code.Apex

Safely Deploy AI-Written Salesforce Code

AI coding tools speed development up and bring their own risks: metadata complexity, shallow tests, hard-coded sandbox...

· 4 min read
A 3D glass cube representing data nodes for optimizing stateful batch apex performanceApex

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...

· 4 min read
A 3D architectural block structure illustrating the concept of calling Apex methods to create records in loops.Apex

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...

· 4 min read
A 3D digital gear mechanism representing InsProductService getRatedProducts limitations in SalesforceDevOps

InsProductService getRatedProducts Limitations Explained

Where InsProductService.getRatedProducts runs out of room in Salesforce Industries, and the payload, caching, and async...

· 4 min read
Diagram showing Salesforce email limits differentiating between internal and external recipient quotas.Apex

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...

· 3 min read
Technical visualization of overcoming the Apex heap limit for complex native document generation processes.Apex

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...

· 5 min read
A 3D rendered digital padlock symbol illustrating code security in dynamic SOQL in loops.Apex

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...

· 8 min read
Diagram illustrating performance optimization techniques for managing Salesforce large data volumes effectivelyAdmin

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...

· 6 min read
Diagram illustrating how to manage and optimize code to stay within Asynchronous Apex Limits in Salesforce.Apex

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...

· 5 min read
A comparison graphic illustrating when to choose Apex code over Salesforce Flow automation toolsApex

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...

· 5 min read
Diagram illustrating the flow and use cases for different Asynchronous Apex types in Salesforce development.Apex

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...

· 5 min read
A visual representation of Apex Hammer tool simulating heavy user load on a Salesforce application interface.Apex

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...

· 4 min read