Editorial question115.3K views2,027 votes0 answers1,778 following
AI-generatedApex heap limit differences between synchronous and asynchronous transactions
Heap sizing for bulk Apex A design is being evaluated for bulk processing that keeps data in memory during an Apex transaction. The documented capability is the Apex heap size governor limit, which caps in-memory data per transaction and is enforced separately for synchronous and asynchronous contexts. Heap usage is measured per transaction and includes vari