I persuaded that my app runs without any error on a local machine and tried to publish it on a streamlit cloud service, but faced with the following error:
[07:49:48] The service has encountered an error while checking the health of the Streamlit app: Get “http://localhost:8501/healthz”: read tcp 10.12.53.25:40248->10.12.53.25:8501: read: connection reset by peer
[07:49:48] Streamlit server consistently failed status checks
[07:49:48] Please fix the errors, push an update to the git repo, or reboot the app
Streamlit Support replied for my appeal and said that i have troubles with hiiting resource limits of streamlit cloud. Is there a solution for this problem? I noticed that this problem appears when i try to load very huge file (is about 7gb) - fasttext embeddings for my NLP models. Can you provide any solution for this problem. May be you can advice some methods not to download this file right into a memory of my hosted app?
You could either try exploring smaller FastText models, loading only the necessary embedding parts when needed, or storing the embeddings in cloud storage (like Google Cloud Storage or Amazon S3), and utilizing st.cache for faster loading.
Alternatively, since Streamlit Cloud has a 1GB RAM limit, you might want to consider deploying your app on platforms like GCP, AWS, to name a few. These platforms offer more memory and greater control over your app’s environment.
Feel free to reach out if you have any questions or want to discuss these options further!
If you’re solely considering the RAM route, as RAM is capped at 1GB on Streamlit Cloud, the main question would be: which platform(s) would you be allowed and most comfortable to engage with?
Truly speaking, my goal is to place my streamlit app in such a way that people can try out its functionality. There are no restrictions on the use of specific platforms. I only need a way to implement it as fast as possible, with the minimum of efforts, if there exists one ). My app is for educational purposes and it won’t attract a lot of traffic, i think)
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.