DiegoRBaquero / BTorrent

:globe_with_meridians: Fully-featured WebTorrent Client
https://btorrent.xyz
MIT License
550 stars 95 forks source link

Browser crash with large files or multiple big files #53

Closed Ciao121 closed 6 years ago

Ciao121 commented 6 years ago

If the seeded files total filesize is > ~2GB browser crashes. This happens also with instant.io. I'm not really technical expert but I think this is due how browsers allocates ram. I've found a workaround. If I feed each file in a new window (non a new tab or a window opened by a popup) the browser allocate ram of that windows in a new child process (and does not sum it to the main process). So each process does not reach > 2GB (if the file is not huge) and the browser dos not crash. Anyway this means I have to take many open browser's windows and this is really uncomfortable. Any better workaround? Thank you!

DiegoRBaquero commented 6 years ago

The torrents live in RAM, there's no workaround, sorry.