It looks like the memory usage of your app is spiking up to 3GB, which is the limit. I’d recommend implementing caching if you haven’t already to reduce your memory usage.
I retested it again at local host - When I run it for the first time - it takes some time [ close to a minute]. but when I test it for the second time , it displays the output within a second.
It means cache function is working perfectly on the local host server but not on the cloud is what I feel.
Can you please have a look? I want to upload this project as a part of professional assignment
It looks like your app is still spiking to 3GB. Caching works both locally and when the app is deployed; in this case, the reason that the app is working on your local machine is that the memory is not limited to 3GB when you run the app locally, while your app is limited to 3GB when deployed with Community Cloud.
I’d recommend checking out these strategies for minimizing memory usage, and you may want to also consider deploying your app on a different platform which offers paid plans for increased memory usage.
I tried following the steps mentioned in strategies used for minimizing memory usage however it’s still not working. I even tried deploying it on other platforms but none can beat streamlit when it comes to ease of use.
Will it be possible to extend the memory usage beyond 3 GB for this app for a few days [ 7 / 15 days] in the free version? It would be a great help if that is possible.
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.