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.
ReidCReidC
Asynchronous heap size isn't about callouts. 12mb heap is about memory used by the specific transaction on the salesforce system.  3mb callout limit it about the size of the request or response between salesforce and the HTTP callout host.