Error message: Apex heap size too large: 6079559

Does anyone know how to resolve this?

Hey Ella, welcome to the Skuid community! This is an error that happens when a Salesforce page is trying to load too many records. You can resolve by adding a # of rows limit to your model or tweaking model conditions.

Check out this article for more info:

Thank you! We’re new to Skuid and would very much appreciate it if we can have a few minutes with someone from the tech team to sort this out with us, please?

Hey!

  1. reduce the number of rows loaded into the model
  2. reduce the number of fields (particularly any long text fields) in your model
  3. don’t load all your models on page load. Instead only load the models you absolutely need to load on page load. You can even set all models to not load on page load and then create an action sequence that starts on page load and then loads each model one at a time. Or you can have an action triggered by clicking a tab or a button that loads a model.

The issue is that too much data is being loaded at one time and Salesforce is rejecting the request.