Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crazy RAM usage when downloading #289

Closed
ghost opened this issue Mar 20, 2015 · 2 comments
Closed

Crazy RAM usage when downloading #289

ghost opened this issue Mar 20, 2015 · 2 comments

Comments

@ghost
Copy link

@ghost ghost commented Mar 20, 2015

when downloading a 2.2 gig file and using webtorrents torrent.server() api RAM usage goes from 24mb to over 500 after a few minutes.

I'm not sure whats causing this or if a buffer can be implemented to help reduce the ram usage?

My code looks like this:

client.add(magnetURL, {
            verify: true
        }, function(torrent) {
            var server = torrent.createServer();
            server.listen(2710);
});
@ghost

This comment has been minimized.

Copy link
Author

@ghost ghost commented Mar 20, 2015

#248
#207

Found these; seems to be a known issue, and equally as crippling for webtorrents uses.

@feross

This comment has been minimized.

Copy link
Member

@feross feross commented Apr 11, 2015

Duplicate of #248. This is high priority - will look at this soon.

@feross feross closed this Apr 11, 2015
@lock lock bot locked as resolved and limited conversation to collaborators May 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.