# Error running application

**URL:** <https://discuss.streamlit.io/t/error-running-application/31516>\
**Category:** Using Streamlit\
**Tags:** windows, streamlit-cloud\
**Created:** [October 4, 2022, 12:52pm UTC](https://discuss.streamlit.io/t/error-running-application/31516 "2022-10-04T12:52:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zehranuryi](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/zehranuryi/32/19008_2.png) [@zehranuryi](https://discuss.streamlit.io/u/zehranuryi)\
**Post date:** [October 4, 2022, 12:52pm UTC](https://discuss.streamlit.io/t/error-running-application/31516/1 "2022-10-04T12:52:14Z")

</div>

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

[https://zehranuryi-book-recommendation-system-main-fnjveh.streamlitapp.com/](https://zehranuryi-book-recommendation-system-main-fnjveh.streamlitapp.com/)

> **[GitHub - zehranuryi/book-recommendation-system: A hybrid recommendation system.](https://github.com/zehranuryi/book-recommendation-system)**
>
> A hybrid recommendation system. Contribute to zehranuryi/book-recommendation-system development by creating an account on GitHub.

I’ll be happy if you can help.

---

<div class="post-metadata">

**Author:** ![Caroline](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/caroline/32/38736_2.png) [@Caroline](https://discuss.streamlit.io/u/Caroline)\
**Post date:** [October 5, 2022, 9:34pm UTC](https://discuss.streamlit.io/t/error-running-application/31516/2 "2022-10-05T21:34:19Z")

</div>

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](https://blog.streamlit.io/common-app-problems-resource-limits/) for some suggestions on reducing your app’s memory usage.

Caroline

---

<div class="post-metadata">

**Author:** ![zehranuryi](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/zehranuryi/32/19008_2.png) [@zehranuryi](https://discuss.streamlit.io/u/zehranuryi)\
**Post date:** [October 9, 2022, 3:53pm UTC](https://discuss.streamlit.io/t/error-running-application/31516/3 "2022-10-09T15:53:50Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/streamlit/original/3X/c/f/cf4c2ee0d938358f82448c5fe4b9c3c91d7ce19c.svg) [@system](https://discuss.streamlit.io/u/system)\
**Post date:** [October 9, 2023, 3:54pm UTC](https://discuss.streamlit.io/t/error-running-application/31516/4 "2023-10-09T15:54:09Z")

</div>

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