duanqn / learn-autodown

清华大学旧版网络学堂课程文件自动下载脚本
4 stars 4 forks source link

Possible high memory consumption #3

Open duanqn opened 5 years ago

duanqn commented 5 years ago

When downloading several large files, the script can consume a huge amount of memory. This is because of the implementation with a read(). Limiting the number of concurrent tasks might be a solution to this problem.