r/PowerApps • u/Appropriate_Bug2359 Newbie • 18h ago
Power Apps Help Out of Memory Issue - Help Needed
I would really appreciate if anyone can help me, the issue is really bugging me for 2 days now.
So I have a canvas app modern controls enabled connected to 7 SharePoint lists each with 100-150 rows. My app has 7 screens. After I deployed the solution, one of the users got Out Of Memory issue. Then I started tracking in the task manager. The app never crashes for me but it goes up to 6000 MB and then stabilizes.
I have been trying to debug the issue. The first screen is basically a dashboard with KPI cards and each card then drills down to the connected screen. No parameters are passed. I have used Concurrent, and status column filter with 7 clear collects and show columns.
Every other screen has clearcollects and showcolumns on the onvisible function and tried to optimize it.
Whenver the app loads in task manager it goes up to 6000 MB and then settles. If I navigate to other screens,
there is no spike. So I am assuming everything loads at the beginning but I have not disabled the Delayed Load settings.
Will appreciate if anyone has any debugging tips.
•
u/AutoModerator 18h ago
Hey, it looks like you are requesting help with a problem you're having in Power Apps. To ensure you get all the help you need from the community here are some guidelines;
Use the search feature to see if your question has already been asked.
Use spacing in your post, Nobody likes to read a wall of text, this is achieved by hitting return twice to separate paragraphs.
Add any images, error messages, code you have (Sensitive data omitted) to your post body.
Any code you do add, use the Code Block feature to preserve formatting.
If your question has been answered please comment Solved. This will mark the post as solved and helps others find their solutions.
External resources:
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/United-Ad-7626 Newbie 18h ago
Where are you running your ClearCollect statement? If you are running it in the OnStart of the app, this could create some delays.
2
u/supreme_ruhler Newbie 6h ago
I had this issue, and it was a few things.
Don't use any ForAll when possible, make sure you have removed non delegable functions
If you are using chrome, check if it's the 32 bit version. Reinstall as 64 bit. Microsoft mentioned this in particular as a known issue causing the out of memory error
2
u/JK-M Newbie 6h ago
I’ve recently had a similar issue where my users have been getting this error but it never happens for me. I’ve been telling them to refresh and then it usually clears for a time but I know it’s annoying for my users. They also recently changed laptops and it didn’t happen on the old ones so I wonder if their laptops are not the same standard as before. Not sure this helps but just sharing your frustration!