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

Large(?!) DCC Download - OutOfMemoryException #10

Open
spreedated opened this issue Jan 4, 2020 · 1 comment
Open

Large(?!) DCC Download - OutOfMemoryException #10

spreedated opened this issue Jan 4, 2020 · 1 comment

Comments

@spreedated
Copy link

Trying to download large files, which means more than ~100MB ends in an Out of memory exception.
A possible cause is the following:

image

A list of Byte array which reaches it's limit of 1GB/1024MB.

@LegendaryB
Copy link

I'm not using this library and don't know the exact code but I think this is a easy fix. Just use streams to write to a file instead of reading all to a list and then writing it to a file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants