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

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (1,895)