Hi there,
Iâm using Plotly.py to show figures in my Streamlit app with big datasets. And now I get a notification of dataset oversizing, bigger than 50.0MB, is there anyway to solve this?
Hi there,
Iâm using Plotly.py to show figures in my Streamlit app with big datasets. And now I get a notification of dataset oversizing, bigger than 50.0MB, is there anyway to solve this?
the exact error message is âRuntimeError: Data of size 83.4MB exceeds write limit of 50.0MBâ
Check this:
Thanks for the reply! I found this github link before I posted this issue, but it didnât solve my problem.
But later my friends and I found this error message in ~/site-packages/streamlit/server/server_util.py, and changed the parameter MESSAGE_LIMIT_SIZE to 200*1e6, making the write limit now 200 MB
Hi,
Have you tried to re-do streamlit run again after the file changed and saved?
Yes, i rerun the app again but still doesnât work.
Please, i have another question is their in posibility to run a file with GB size.
If you mean upload file with GB size, you can try âstreamlit run xx.py âserver.maxUploadSize=1028â
Do you have multiple python environments? That might cause the modification doesnât work well
No i have only one envirement
You can use âwhere streamlitâ command to check if the streamlit.exe is in the same path with the server_util
Thank you for your response. Actually when i restart my machine it works.
And i can display data up to 200 Mo
We recently introduced some changes with 1.4.0 to fix this problem. The default message size limit is now 200 MB (instead of 50 MB) and you can increase it even further with the config option server.maxMessageSize
. More about config options here. Let me know if this works or not!
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.
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.
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.
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.