Giter Site home page Giter Site logo

Comments (1)

filecxx avatar filecxx commented on May 12, 2024

程序只支持64位系统, 64位系统支持大文件映射, 也就是不需要程序来管理缓存了, 这部分的内存操作系统会自动管理, 所以程序运行时候不会有太大的的内存占用.

举个例子: 下载10G的文件,这部分文件操作系统会将其放入缓存中,每隔几秒将已经修改的部分写入硬盘,但是同时也保留在内存中,当其他进程需要内存,这时候系统的内存不足了,就会释放这一部分。

打开进程管理器会看到filec进程的内存占用只有几MB,但是共享内存占用却有几GB。

另外Torrent这块现在也是用的文件映射了。参考 https://www.libtorrent.org/

视频嗅探这块在逐步完善。

感谢支持,遇到BUG请随时提交。

from filecentipede.

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.