File Upload Auto-refresh causes heap size error in Attachment Page Include

  • 1
  • Problem
  • Updated 2 years ago
  • Solved
We have a page with tabs set to lazy load.  Once of the tabs has a file upload component and a page include for the attachments.  When a user uploads a 120kb file we get a heap size error on the page include.  The file still gets attached and if you reload the page there is no heap size error when loading the page include.  
Photo of Curtis Ellingham

Curtis Ellingham

  • 362 Points 250 badge 2x thumb

Posted 2 years ago

  • 1
Photo of Mark DeSimone

Mark DeSimone, Official Rep

  • 11,050 Points 10k badge 2x thumb
Hi Curtis, does the error occur if you load the page include directly (i.e. not inside the tab) and upload a file there? Also, can you say which Skuid version you're working with?
Photo of Curtis Ellingham

Curtis Ellingham

  • 362 Points 250 badge 2x thumb
Looks like including Body in the model was causing the heap size error.  I'm not sure why that happened only when uploading a file and not when loading the page but it works now.
(Edited)
Photo of Mark DeSimone

Mark DeSimone, Official Rep

  • 11,050 Points 10k badge 2x thumb
Glad to hear you were able to resolve this.