Skip to content

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

Closed
@88250

Description

@88250
Member

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250

      Issue actions

        插入较大的资源文件时内存占用较大 · Issue #5023 · siyuan-note/siyuan