Apex heap size too large debug

edited November 2019 in Questions
I am getting the following error "Apex heap size too large: 16382976" when user has added an attachment. Does anyone knows how I can find out exactly what is causing the error?

Comments

  • edited September 2015
    You are trying to load more records.Reduce size in the model.See this post.
    https://community.skuidify.com/skuid/topics/skuid_error_apex_heap_size_too_large_9436523
  • edited January 2016
    When the page loads there are no errors. It only happens after adding an attachment. The file is being added followed by error message. 

    Please see attached image, This only happens after attaching a file using Upload button
  • edited January 2016
    image
  • Rob HatchRob Hatch 🛠️ 
    edited September 2016
    I think you are including the "Body" field in your attachment model.  With Attachments that can be several MG in size,  your model will blow up!  You can't use the body field anyway - so get rid of it...
  • edited January 2016
    Thank you Bhavesh Rob,  I do not have body field in Attachment, when I refresh the page there is no error and all the attachments are listed. The error only appears when a new attachment is uploaded. 
  • edited March 2017
    Two quick questions, what version of Skuid are you using, and what is the file size of the file that's being uploaded?
  • edited January 2016
    Hi Ben, 

    Skuid Version: 7:16 file size 13 bytes. I hope this helps. Thanks
  • edited March 2017
    Very strange I'd have to take a deeper look. Are you able to grant login access to Skuid using these instructions?
  • edited January 2016
    Hi Ben, I have granted Skuid login access. Do you know where I should send steps to recreate the error message? Please let me know. Thanks
  • edited November 2019
    Having the same issue.
    @Andrew & @Ben would you mind posting the solution if you have any.
Sign In or Register to comment.