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

插入较大的资源文件时内存占用较大 #5023

Closed
88250 opened this issue May 27, 2022 · 0 comments
Closed

插入较大的资源文件时内存占用较大 #5023

88250 opened this issue May 27, 2022 · 0 comments
Assignees
Milestone

Comments

@88250
Copy link
Member

88250 commented May 27, 2022

插入资源文件时使用 io.ReadAll 读取到内存并计算 hash,这样内存占用太高。需要改为分块 hash,直接使用 GetEtag 函数。

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

No branches or pull requests

1 participant