The App crashes AFTER loading a picture from mobile device, however
the app never crashes if it’s used on a laptop. In addition , once it crashes I have to reboot my app (Which is my ‘quick fix’ for this issue). Unsure if this is a memory issue or glitch that doesn’t allow streamlit apps to run on mobiles or if something is wrong (or missing) with my code - thank you!
I looked into your app’s memory usage, and it appears that the memory usage is most likely causing the crashes. Here’s a graph of your app’s memory usage over the past 14 days:
Streamlit Cloud is a free service with a 1GB resource limit. Sometimes it lets you go over per availability, but that is never a guarantee. It’s intended for educational purposes and to help people get started easily.
If your current app is using more resources than that, you’ll either have to figure out a way to make it more efficient or deploy it on another system if you want to avoid hitting the limit.
Looking at the sizes of the jumps shown in @Caroline’s response, I’d be curious if the mobile vs laptop issue is more of a coincidence or red herring. You could certainly try to profile your app’s memory usage yourself to investigate your code. (Note that caching is going to contribute to consumption as well.)
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.