Skip to content

降低数据索引内存占用 #3439

Closed
Closed
@88250

Description

@88250

之前的实现是全量解析 .sy 为语法树后缓存到内存里,所以在文档较多的情况下索引阶段会占用很多内存。

改进方案:

  • 解析单个 .sy 后入库,块数据进行内存缓存
  • 遍历缓存解析引用,更新库

Activity

added this to the 1.5.4 milestone on Nov 18, 2021
self-assigned this
on Nov 18, 2021
changed the title [-]优化数据索引内存占用[/-] [+]降低数据索引内存占用[/+] on Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250

      Issue actions

        降低数据索引内存占用 · Issue #3439 · siyuan-note/siyuan