Error running application

Hello. It works when I run the application locally. But when I try to deploy streamlit I get an error.

The log says:

[12:34:03] :exclamation: The service has encountered an error while checking the health of the Streamlit app: Get “http://localhost:8501/healthz”: read tcp 127.0.0.1:48602->127.0.0.1:8501: read: connection reset by peer
[12:35:34] :exclamation: Streamlit server consistently failed status checks
[12:35:34] :exclamation: Please fix the errors, push an update to the git repo, or reboot the app.

https://zehranuryi-book-recommendation-system-main-fnjveh.streamlitapp.com/

I’ll be happy if you can help.

Hi @zehranuryi,

Thanks for posting! It looks like your app is exceeding the 1GB resource limit (the memory usage is surging to 3GB), which is causing the error. Check out this blog post for some suggestions on reducing your app’s memory usage.

Caroline

Hi @Caroline . Thank you. I’ll work on it.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.