Activity › Forums › Salesforce® Discussions › What is heap size limit for synchronous calls in Apex in Salesforce? Salesforce® Discussions What is heap size limit for synchronous calls in Apex in Salesforce? Posted by Anjali on September 16, 2020 at 2:18 PM What is heap size limit for synchronous calls in Apex in Salesforce? Ratnesh replied 5 years, 8 months ago 3 Members · 2 Replies 2 Replies Kirandeep Member September 16, 2020 at 2:32 PM Salesforce enforces an Apex Heap Size Limit of 6MB for synchronous transactions and 12MB for asynchronous transactions. The “Apex heap size too large” error occurs when too much data is being stored in memory during processing. [adinserter block='9'] Ratnesh Member September 17, 2020 at 7:48 AM 6MB Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me