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 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.