Activity Forums Salesforce® Discussions What is heap size limit for synchronous calls in Apex in Salesforce?

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

  • Ratnesh

    Member
    September 17, 2020 at 7:48 am

    6MB

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos