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 upAllocation failed #1186
Closed
Allocation failed #1186
Labels
Comments
This comment has been minimized.
This comment has been minimized.
|
Is using --max_old_space_size option relevant ? |
This comment has been minimized.
This comment has been minimized.
|
I've been documenting in the browser, memory usage information here: The only solution I came to reduce memory usage that's leaking in the browser is to add pieceLength to the options. for 31.6MB something like 1-2 mb (1000000-2000000) should fix it if it's related to the memory leak. |
This comment has been minimized.
This comment has been minimized.
|
@Lunik How many torrents are you adding? What is the size of each torrent? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Hi @feross I tried to download a torrent, 4GB file size on a VPS, 1GB Ram (for testing purpose). Got this issue:
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.

Hi,
I'm trying to transfert large file with webtorrent with
client.addfunction.But it crash before the callback was called, with some allocation issues
What version of WebTorrent?
0.98.19
What operating system and Node.js version?
Centos 7, node v8.5.0
What did you expect to happen?
Download to start
What actually happened?
Crash with allocation failed
Trace