diff --git a/kernel/model/virutalref.go b/kernel/model/virutalref.go index 4e5cb6f40..c70ee8ccb 100644 --- a/kernel/model/virutalref.go +++ b/kernel/model/virutalref.go @@ -35,8 +35,8 @@ import ( // virtualBlockRefCache 用于保存块关联的虚拟引用关键字。 // 改进打开虚拟引用后加载文档的性能 https://github.com/siyuan-note/siyuan/issues/7378 var virtualBlockRefCache, _ = ristretto.NewCache(&ristretto.Config{ - NumCounters: 1024000, - MaxCost: 102400, + NumCounters: 102400, + MaxCost: 10240, BufferItems: 64, })