Argh. This app has gone over its resource limits

Sorry! It means you've hit the resource limits of your Streamlit 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.experimental_memo or st.experimental_singleton to load models or data only once
  • Restrict the cache size with ttl or max_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:

Was this page helpful?

editSuggest edits
forum

Still have questions?

Our forums are full of helpful information and Streamlit experts.