Maintain Your Platform Developer Certification for Winter ‘26 Handle Large External Service Callouts and Payloads Without Hitting Apex Heap Limits Working with large amounts of data in Apex can quickly push you up against heap size limits, especially when you need to transfer files or binary payloads to or from external systems. This release introduces a more efficient process for managing large callouts through External Services. Instead of loading binary data directly into the Apex heap, External Services now uses pointers to ContentDocument object IDs. This means you can upload or download binary files up to 16 MB without blowing through heap limits, significantly improving reliability for data-heavy integrations. For example, a developer integrating Salesforce with a digital asset management system can now transfer large images or PDFs without running into Apex governor limits. And because this process uses ContentDocument as the storage mechanism, the ...
Salesforce
Everything about Salesforce