Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upBlob is too big. #1429
Blob is too big. #1429
Comments
This comment has been minimized.
This comment has been minimized.
|
There is certainly a hard limit of the browser, resp. the machines RAM, but also at https://webtorrent.io/docs ->file.appendTo->opts->maxBlobLength->default: 200 * 1000 * 1000 bytes |
This comment has been minimized.
This comment has been minimized.
|
What browser are you using @SunnyQjm? Browsers handle blobs differently, with some storing them solely in memory while others store the blob on disk, a good breakdown of the different limits between browsers can be seen here.
Chrome specifically states that
Using a different store would possibly help you with this issue; something like the indexeddb-chunk-store. Hope this helps. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Now, I want to use webtorrent API to share a file (seed it). In the same time, use the magnetURI to download this file.
But if this file too big. (For example in chrome, the file bigger than 800M). Use "file.getBlob()" or "file.getBlobUrl" can not create a Blob Object. The Web page will cash.
I have test that the demo web "https://instant.io/" also have this problem.
If I want to trans a Big file, How can I fix it.