You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to upload a large file via tauri http by placing the file into formData, but it tends to crash easily when I upload it. I suspect it's because Tauri uses Body.form() to handle formData, and when handling files, Body.form() converts them to Unit8Array, which probably consumes a lot of memory when the file is large.
Describe the bug
I need to upload a large file via tauri http by placing the file into
formData
, but it tends to crash easily when I upload it. I suspect it's because Tauri usesBody.form()
to handleformData
, and when handling files,Body.form()
converts them toUnit8Array
, which probably consumes a lot of memory when the file is large.sourceCode: https://github.com/tauri-apps/tauri/blob/1.x/tooling/api/src/http.ts#L104-L109
Reproduction
No response
Expected behavior
No response
Full
tauri info
outputStack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: