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
forcefanatic1forcefanatic1 

Max file size limit for extracting from Salesforce

I am trying to understand what this limit actually means?
(https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_gov_limits.htm#static_gov_limits_section) states "Maximum size of callout request or response (HTTP request or Web services call)1" cannot be over 3MB. 
I just implemented a Java service using the Partner WSDL that had no issues extracting a 6.8MB file. It ran into Heap size errors for an attachment size of 16.8MB, but I'm guessing if I increase the heap space at run time, this issue would also get rectified. 
So does this mean the limit only applied to data extracted using SFDC's Apex HTTPRequest and HTTPResponse objects? Is there even a limit to the size of file I can extract using a Java client external to SFDC?
ShashankShashank (Salesforce Developers) 
The limit is specific to requests and responses, and does not apply to files.