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
MoDiggityMoDiggity 

Not True - Visualforce remoting response exceeded 15MB

I have a very basic query which returns 11 rows with 4 child records

SELECT Id, (Select Id, Period_Deadline__r.Academic_Period__r.Session__c, Period_Deadline__r.Academic_Period__r.Academic_Year__c, Period_Deadline__r.Name, Period_Deadline__r.End_Date_Application__c, Period_Deadline__r.End_Date_New_Application__c, Period_Deadline__r.Start_Date_Application__c FROM App_Deadlines__r) FROM Application_Process__c

I am getting a visualforce remoting response exceeded 15MB from this query.

The Application_Process__c records do contain a lot of data in other fields which are not being queried here.  Is this a salesforce bug which counts the size of fields that I'm not querying in this case?  Is there a workaround?

I have a client live and this has taken them down.  Super urgent :(
AmulAmul
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_controller_readonly_context_methodlevel.htm


did you used
 readOnly="true"

https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_controller_readonly_context_pagelevel.htm

?