Max File Size that can uploaded , not by default, but by using --server.maxUploadSize=10240

I am trying to upload 6 GB or more than that, that will be saved automatically in local machine. But the server get killed every time. It upload files like 2-3 GB easily. I have tried Python Flask server along with Streamlit Server, but doesn’t work. I want Streamlit does not depend on RAM, instead of that it depends on Storage. If you have any solutions or suggestion, please let me know. Otherwise tell me what will be the max file size limit that can be uploaded through Streamlit