Argh. This app has gone over its resource limits
Sorry! It means you've hit the resource limits of your Streamlit Cloud account. One way to avoid this is to upgrade your plan to one with higher resource limits. But there are also a few things you can change in your app to make it less resource-hungry:
- Reboot your app (temporary fix)
- Use
st.experimental_memo
orst.experimental_singleton
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 Cloud.
Related forum posts:
- https://discuss.streamlit.io/t/common-app-problems-resource-limits/16969
- https://blog.streamlit.io/common-app-problems-resource-limits/