Thanks for sharing your issue. It looks like your app link isn’t publicly accessible at the moment, and it would help if you could provide a bit more information to better understand what’s going on.
Since you’re running this in Streamlit Cloud, here are a few things that might help with debugging:
Check Resource Limits:
The error message (197 Killed) suggests that your app may be exceeding the memory or CPU limits of Streamlit Cloud. You might want to review your app’s resource usage, especially if it’s processing large datasets or running heavy computations.
Logs and Error Messages:
You can check the logs for your app in Streamlit Cloud by going to your app dashboard. The logs might provide more detailed error messages that can point to the root cause.
Running Locally:
Have you tried running your app locally? This can help determine if the issue is specific to Streamlit Cloud or if there’s something in your app itself that might be causing problems.
Dependencies:
Make sure your requirements.txt is up to date and doesn’t include any unnecessary packages that could be bloating memory usage.
Simplifying the App:
If possible, try simplifying your app (e.g., removing heavy computations or limiting the amount of data being loaded) to see if it can deploy successfully. This can help narrow down the cause of the issue.
If you can provide more details about your app, including relevant parts of the code or any packages you’re using, we’ll be able to assist more effectively. Once your app is accessible again, feel free to share the link, and we can take a closer look.
App used to work perfectly fine. I added a new module where lots of data is processed and heavy computations are done. Now it crashes once it gets to that part.
Locally the app works fine.
Does it have to do with limitations of Streamlit cloud?
What is a solution if I need to do these heavy computations online?
If your use case exceeds this, then you should try an alternative deployment platform or move those heavy computations to another service. As your resource needs increase, your free options will become more limited. You can, for example, deploy your app in a container on any of the major Cloud providers.
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.