• wipro.admin1.391698133027388E12
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 1
    Replies
I need to build a vf page wherein I need to display the no of Account records owned by each user.

One column should NO OF RECORDS and the other columns should be USER NAME.

Please help me with a sample code, if anyone has.
I have an callout made, where I get this error

System.callout exception :“Exceeded max size limit of 3000000 with request size 3006464

The size of an httprequest is exceeding 3MB.

The record for which I'm invoking the webservice has attachments also being sent in the http request and those attachments are causing the raise in the memory more than 3 MB as a result of whcih I'm getting the error :System.callout exception :“Exceeded max size limit of 3000000 with request size 3006464

So is there a way to zip the attachments in the Webservice code and make the callout i.e. when the webservice is invoked , the attachment should get zipped (size should reduce) and pass to the other environment.

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