cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
AB48
Level: Powered On

Getting a "maximum call stack size exceeded" and blank galleries on iOS devices

I am getting a "maximum call stack size exceeded" error on my app when using an iOS device and the Powerapps app that causes galleries to go blank. It doesn't happen on desktop. 

 

The app is fairly simple. It shows 2 galleries. The first gallery displays about 40-50 items, the second gallery displays 1-3 items. The galleries are tied to a collection that is formed from combining 4 collections using a lookup field. Each individual collection has about 500 records in it. The app refreshes the data every 90 seconds and recollects the combined collection, and when it does, the first gallery with ~50 items goes blank and the error message shows. The second gallery usually doesn't have a problem. Changing the refresh duration doesn't seem to make a difference. The app starts up just fine, the problem only occurs when refreshing.

 

Session ID: cf5dbea8-91d8-43e1-a53f-aca70a567769

 

Please help!!

1 REPLY 1
Community Support Team
Community Support Team

Re: Getting a "maximum call stack size exceeded" and blank galleries on iOS devices

Hi @AB48 ,

How do you refresh data within your app? Could you please share a bit more about the formula you used?

Do you mean that this issue occurs within your iOS device rather than Desktop?

 

Based on the error message that you mentioned, I think this issue may be related to the available RAM in your iOS device.

Please make sure you have enough RAM in your iOS device to run your PowerApps app. You could consider close other applications in your device, just run the PowerApps Mobile App, check if the issue is solved.

 

The user @NikoClau has faced same issue with you, please check the response within the following thread:

https://powerusers.microsoft.com/t5/General-Discussion/PowerApps-with-SQL-data-Error-Maximum-call-st...

 

On your side, please also consider set the "Data row limits for Non-delegable queries" option to maximum value -- 2000, then re-publish your app, try your app in your iOS device again, check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 217 members 6,460 guests
Please welcome our newest community members: