Digging through the Salesforce Winter ’27 release notes, one change stood out:
Apex heap limits have increased.
Sync: 6 MB → 10 MB
Async: 12 MB → 25 MB
Enabled automatically with Winter ’27.
Sounds small. It isn’t.
For years, Apex’s 6 MB synchronous heap limit has shaped how we build data-heavy integrations. Sometimes, async is a memory workaround—not a business requirement. Salesforce now explicitly recommends revisiting code designed around the old ceiling.
That extra headroom could keep more JSON processing, CSV generation, and API response merging synchronous—where heap was the bottleneck. Async jobs get more breathing room, too.
More memory—not fewer governor limits. Callout requests and responses remain capped at 6 MB sync / 12 MB async. CPU, SOQL, and timeout limits still apply.
Measure usage with Limits.getHeapSize() and check your ceiling with Limits.getLimitHeapSize(). Don’t guess.
Deploying from a Winter ’27 sandbox to Summer ’26 production? Enable “Enforce the Summer ’26 Apex heap limit” in the sandbox’s Apex Settings until production upgrades.
A quiet change worth revisiting your architecture for.
Short explainer below 👇
View on LinkedIn ↗
- #Salesforce
- #Apex
- #SalesforceDeveloper
- #Winter27