Argh. This app has gone over its resource limits
Sorry! It means you've hit the resource limits of your Streamlit Community Cloud account.
There are a few things you can change in your app to make it less resource-hungry:
- Reboot your app (temporary fix)
- Use
st.cache_data
orst.cache_resource
to load models or data only once - Restrict the cache size with
ttl
ormax_entries
- Move big datasets to a database
- Profile your app's memory usage
Check out our blog post on “Common app problems: Resource limits” for more in-depth tips prevent your app from hitting the resource limits of the Streamlit Community Cloud.
Related forum posts:
- https://discuss.streamlit.io/t/common-app-problems-resource-limits/16969
- https://blog.streamlit.io/common-app-problems-resource-limits/