Showing results for 
Search instead for 
Did you mean: 
Resolver III
Resolver III

PowerApps not clearing memory? Eror occured on server?


I have an app that has several screens

On the main screen I hit a button to go to the next and pull through data for a specific date into a gallery. This data is pulled via a 'clearcollect', and the gallery lists this data.

On the 'Back' button, I clear the collection first.

Going to that same button again and repeating, I am finding that the memory usage increases and never goes back to where it was.

Edit: I just tested something. I set a date to a specific one, refreshed, set it to another, refreshed, and then back to the first date and the refresh was instant. Refreshing to the second was again instant. This is making me think that the memory is not freed at all but cached? Can this be undone?


2) In the direct link for the app, refreshing the data doesnt even work, I get 'error occured on the server'. In the SharePoint embed, it works fine.

 Edit: Now I published my app and I get error occured on the start of the app, although it doesnt seem to affect anything?


3) Is there any way to allocate memory for each screen only when it is actually visible? From my understanding, they are 'there' even though I am not on that screen. Or is there a way to force a clear of all memory used?

Helper III
Helper III

i am running into same issue.  where you able to find a fix?

Helpful resources

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (3,569)