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
Winden app fails (actually crash on receive side) while sending large files (500 MB, 1 GB or more) depending on user PC, Mobile device, browsers.
There is no consistency of file size which fails. Currently we are limiting to 200 MB of files in Web App. Destiny Desktop/Mobile applications don't have this issue.
Mostly fails receiving files on Mobile devices. Desktop is quite stable with 1 GB file transfer (send/receive). Even managed to send 5GB files.
Overall issue is on receiver side, when there is lack of memory to store all received data till full file received.
Also our current file size limitation on winden is incorrect setup. We should limit not only on sender side, but also on receiver, when file offer is presented.
@JustusFT@vu3rdd added few tasks to try out. Please put more, if something pops up.
May be we need to rethink whole process of receiving data, for example: may first get all bytes and push to temp file on system and only later on decrypt and generate downloadable file?
Also if we have mostly issues with mobile browsers, maybe we can separate limitation for desktop and mobile browser. For mobile experience, we could promote installable apps.
donpui
changed the title
Failing to send large files via web app
Failing to Receive large files via web app
Dec 23, 2022
remove file size check for sender on upload page, but add notification, that large files might fail on receiver side if web app is used. Promote installable app for receiver (Notify sender);
add large file check on receiver when file offer is received:
if file is large then 100/200 mb. suggest to use install apps Desktop/Browsers (this could be depended from which platform he comes) and repeat upload process again, as code is already invalid;
notify, that download might fail. Failure most likely will happen for mobile browsers. While desktop browsers might succeed with 1GB transfers;
Winden app fails (actually crash on receive side) while sending large files (500 MB, 1 GB or more) depending on user PC, Mobile device, browsers.
There is no consistency of file size which fails. Currently we are limiting to 200 MB of files in Web App.
Destiny Desktop/Mobile applications don't have this issue.
Original issue: LeastAuthority/Transfer#25
Internal bug: #OP 238
There were already few attempts to fix this memory leakage in w-w wasm:
LeastAuthority/wormhole-william#76 and web app.
Minimal client for experimentation: https://github.com/LeastAuthority/wormhole-william-minimal-client
Few more tasks, ideas to try out:
WormholeProvider
#93bufferedAmount
for sender side to (requires changes on nhooyr/websocket), however this doesn't solve main receiver side issue.The text was updated successfully, but these errors were encountered: