heap size limit

  • 1
  • Question
  • Updated 3 years ago
  • Answered
I have a very large page and have run into a head size limit  and the page going to get bigger.  I have read this article:  https://community.skuidify.com/skuid/topics/debugging-heap-size-whats-happening-on-the-server
If I go back to using includes will that fix my problems?
Photo of Bill Fox

Bill Fox

  • 7,954 Points 5k badge 2x thumb

Posted 3 years ago

  • 1
Photo of Jack Sanford

Jack Sanford, Champion

  • 8,322 Points 5k badge 2x thumb
Page includes should work. If you don't want to go that route you can also set it up so models only load when a tab is shown and not on page load, that's how we've gotten around this issue. 
Photo of Dave

Dave

  • 5,538 Points 5k badge 2x thumb
If you do not hit Heap Sizer limit on initial page load, as far as I know you will never experience by navigating to other tabs 

I've had many issues with Heap Size when first started using Skuid.

Tried all solutions mentioned above and it helped, but the real problem got fixed when started using page includes. It actually helped in more than heap size.

As page include are great if u need to reuse certain elements,like detail view in multiple different places. (example: I use Account_detail page to replace the "view page" of account. But as well i use it a page include,in a popup action for many child objects, on which i need to see parent without leaving page)

No need to redo the work each time.

Today my main page uses 30+ different page include with no hint of a heap size issue.
Photo of Jack Sanford

Jack Sanford, Champion

  • 8,322 Points 5k badge 2x thumb
Great point Dave. I actually often find myself asking, should I just make a page include for this?? When making similar popups all over the place. 
Photo of Jack Sanford

Jack Sanford, Champion

  • 8,322 Points 5k badge 2x thumb
And Page Includes would fix your XML Tree Depth issue as well Bill. 
Photo of Bill Fox

Bill Fox

  • 7,954 Points 5k badge 2x thumb
I would also like to use more includes if i could use the included page to send a command (an action sequence that could be executed in the include frame properties BASIC ACTION RENDERING) on the master page.  Any ideas?
Photo of Dave

Dave

  • 5,538 Points 5k badge 2x thumb
Not sure I understood your use case exactly.

But if yes, You want to be able from the page include to affect the master page?

Not 100% sure, but should be doable if u play a little with the XML

See this post to give you an idea on how to do it.

https://community.skuidify.com/skuid/topics/master-save-all-button

Hope it helps