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

Use chunked file upload to prevent loading whole file in memory #15

Open
xob0t opened this issue Jul 28, 2024 · 2 comments
Open

Use chunked file upload to prevent loading whole file in memory #15

xob0t opened this issue Jul 28, 2024 · 2 comments

Comments

@xob0t
Copy link

xob0t commented Jul 28, 2024

I tried to upload a 4Gb file on my 2Gb Ram + 1Gb Swap VPS.
The memory quickly fills up, then the process is killed by system.

@ManuelReschke
Copy link
Owner

Sry but i think i cant fix that asap. Becasue its a bug in the underlying client pkg. imroc/req#231
Would be good if you report this also in that reported issue as well.

@ManuelReschke
Copy link
Owner

@xob0t you could use the older release <1.5 https://github.com/ManuelReschke/go-pd/releases that use the old client pkg.

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