function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
wipro.admin1.391698133027388E12wipro.admin1.391698133027388E12 

callout error help

In the below link, it is shown that total heap size for a asynchronous callout is 12 MB

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_gov_limits.htm

But in my callout I'm getting the below error message

system.calloutexception :IO Exception:Exceeded max size limit of 3000000 with request size 3006464

when I went through the link above i found that there is another limit which says that

Maximum size of callout request or response (HTTP request or Web services call)    3 MB

Can someone please explain me the difference between that 12MB heap size and 3MB size of callout request.
Vinita_SFDCVinita_SFDC
Hello,

As per the most updated Doc, synchronous limit of Heap size is 6 MB and asynchronous is 12MB.

Refer: http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_gov_limits.htm
wipro.admin1.391698133027388E12wipro.admin1.391698133027388E12
Thanks for the reply Vinitha

I understand that the asynchronous heap size limit is 12 MB but I want to know what the
 Maximum size of callout request or response (HTTP request or Web services call)    3 MB  in the link you mentioned means. 

Pls help