My app works locally, but in deployment I'm getting: The service has encountered an error while checking the health of the Streamlit app: Get "http://localhost:8501/healthz": read tcp 10.12.147.189:58558->10.12.147.189:8501: read: connection reset by peer

Hey @denizezgikurt,

Thanks for sharing your question! It looks like your app has spiked up ~3GB of memory usage over the past few days, which is causing it to display the error you mentioned. Apps on Streamlit Community Cloud are limited to 1GB.

There are a few options – you can use Streamlit’s caching methods to make your app more efficient/decrease memory usage. If your app is for an educational or nonprofit use case, you can reach out to Streamlit’s support team by following the steps outlined here and they can work with you to increase your resource limit. Finally, you can also deploy Streamlit apps on a number of other platforms that may allow you to purchase additional resources.