GithubHelp home page GithubHelp logo

Comments (5)

mcoo avatar mcoo commented on June 3, 2024 1

是否可以对其进行限制,或者文件流的形式进行上传,以降低大文件对内存的占用?
image
主机的内存被耗尽,然后alist 会重启导致复制任务中断
image
heap_4.zip
重启后任务都没有了,也没有失败的记录
image
当然可以通过docker对内存进行限制,但仍会导致重启。增加 Swap 内存后可以避免。
resty似乎也有讨论 go-resty/resty#309

from alist.

welcome avatar welcome commented on June 3, 2024

Thanks for opening your first issue here! Be sure to follow the issue template!

from alist.

anwen-anyi avatar anwen-anyi commented on June 3, 2024

占用内存是正常的情况,不然如何复制到另一个存储呢。

from alist.

pongfcnkl avatar pongfcnkl commented on June 3, 2024

同时复制文件数量设置的少一点

from alist.

mcoo avatar mcoo commented on June 3, 2024

同时复制文件数量设置的少一点

这个和文件数量应该无关,是因为使用的 resty 在请求时会一次性读取全部的文件到内存,导致内存的大量占用所引起的。
目前有一个解决方法,只需要挂载为 webdav 就可以解决这个问题。

from alist.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.