logseq-plugin-agenda icon indicating copy to clipboard operation
logseq-plugin-agenda copied to clipboard

内存泄露

Open deciia opened this issue 3 years ago • 19 comments

还不清楚是什么原因导致的。 具体操作是这样的,点击Logseq界面顶部的agedna图标进入仪表盘,切换左侧的标签按钮,然后发现界面卡住不动了,打开任务管理器发现内存一直在长,回不到logseq主界面,只能在任务管理器强制中断进程,重开、重装插件都没有用。 之前一直其它页面测试高级高询代码,早上多次尝试了“重新建立索引”,不清楚是不是这个原因。

win10 PC端 logseq v0.70 Agenda 2.20

deciia avatar Jun 02 '22 01:06 deciia

仪表盘页面没卡住,可以正常操作,点击左侧按钮切换的时候卡住的吗

是点击日历卡住的么

有修改过设置里的 query 语句吗

haydenull avatar Jun 08 '22 04:06 haydenull

是的,进入仪表盘没卡住,点左侧按钮切换时卡住了。 点第二个日历正常,点第三个按钮卡住,点第四个也卡住了。 尝试添加过一条,之后删掉了

------------------ 原始邮件 ------------------ 发件人: "Hayden @.>; 发送时间: 2022年6月8日(星期三) 中午12:56 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [haydenull/logseq-plugin-agenda] 内存泄露 (Issue #59)

仪表盘页面没卡住,可以正常操作,点击左侧按钮切换的时候卡住的吗

是点击日历卡住的么

有修改过设置里的 query 语句吗

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

deciia avatar Jun 08 '22 04:06 deciia

好的,我看一下,原计划这几天会有一个新版本,到时候可以再试一下

haydenull avatar Jun 08 '22 05:06 haydenull

好的,更新后我再看看,尝试点“restore defaults”,似乎也没有效果

deciia avatar Jun 08 '22 05:06 deciia

2.3.1版本发布了,可以更新试试。

haydenull avatar Jun 09 '22 14:06 haydenull

还是会卡住

deciia avatar Jun 11 '22 22:06 deciia

使用设置页的 Restore Defaults 重置下设置呢,另外可以使用 Ctrl + shift + i 打开控制台,看看点击的时候有什么报错没。

image

haydenull avatar Jun 12 '22 03:06 haydenull

问题还存在,没有看到严重的报错 下面是开启控制台后显示的Log 捕捉到这一条:vendor.318f26bb.js:9293 z / z2 / zlevel of displayable is invalid, which may cause unexpected errors

[faiz:] === Polygonal theme green index.9963583e.js:192 ======xxxxxx index.9963583e.js:131 [faiz:] === getCurrentTheme dark index.9963583e.js:131 [faiz:] === Polygonal theme dark 4index.9963583e.js:131 [faiz:] === getCurrentTheme dark index.9963583e.js:131 [faiz:] === Polygonal theme dark 2index.9963583e.js:131 [faiz:] === getCurrentTheme dark index.9963583e.js:192 [faiz:] === res {journalEvents: {…}, projectEventsMap: Map(6), fullEvents: {…}} 2index.9963583e.js:131 [faiz:] === Polygonal theme dark index.9963583e.js:131 [faiz:] === Polygonal theme dark 22index.9963583e.js:131 [faiz:] === getCurrentTheme dark index.9963583e.js:192 [faiz:] === onValuesChange {theme: 'auto', lightThemeType: 'green', homePage: 'dashboard', defaultView: 'month', weekStartDay: 0, …} {theme: 'auto', lightThemeType: 'green', homePage: 'dashboard', defaultView: 'month', weekStartDay: 0, …} DevTools failed to load source map: Could not parse content for file:///C:/Users/Administrator/.logseq/plugins/logseq-agenda/dist/antd.dark.min.css.map: Unexpected end of JSON input index.9963583e.js:182 [faiz:] === dataWithCoordinates [{…}] index.9963583e.js:131 [faiz:] === Polygonal theme green index.9963583e.js:131 [faiz:] === getCurrentTheme dark index.9963583e.js:131 [faiz:] === Polygonal theme dark 3index.9963583e.js:131 [faiz:] === getCurrentTheme dark helpers.ts:121 Uncaught (in promise) Error: [deferred timeout] async call #44     at eval (helpers.ts:121) eval @ helpers.ts:121 Promise.then (async) (anonymous) @ index.9963583e.js:131 fk @ vendor.318f26bb.js:9267 i.unstable_runWithPriority @ vendor.318f26bb.js:9252 gg @ vendor.318f26bb.js:9263 Oj @ vendor.318f26bb.js:9267 Lj @ vendor.318f26bb.js:9265 (anonymous) @ vendor.318f26bb.js:9263 i.unstable_runWithPriority @ vendor.318f26bb.js:9252 gg @ vendor.318f26bb.js:9263 jg @ vendor.318f26bb.js:9263 ig @ vendor.318f26bb.js:9263 Hb @ vendor.318f26bb.js:9267 gd @ vendor.318f26bb.js:9263 index.9963583e.js:131 [faiz:] === getCurrentTheme dark index.9963583e.js:131 [faiz:] === Polygonal theme dark 4index.9963583e.js:131 [faiz:] === getCurrentTheme dark index.9963583e.js:184 [faiz:] === page calendar: internalSchedules (41) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}] index.9963583e.js:184 [faiz:] === page calendar: subscriptionSchedules [] instrument.js:112 "Datascript query: " [:find (pull ?b [:db/id :block/uuid :block/parent :block/left :block/collapsed? :block/format :block/refs :block/_refs :block/path-refs :block/tags :block/content :block/marker :block/priority :block/properties :block/pre-block? :block/scheduled :block/deadline :block/repeated? :block/created-at :block/updated-at :block/file :block/heading-level {:block/page [:db/id :block/name :block/original-name :block/journal-day]} {:block/_parent ...}]) :in $ % :where (page-ref ?b "daily log")] index.9963583e.js:184 [faiz:] === page calendar: internalSchedules (41) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}] index.9963583e.js:184 [faiz:] === page calendar: subscriptionSchedules [] index.9963583e.js:184 [faiz:] === calendarOptions {defaultView: 'month', taskView: true, scheduleView: true, useDetailPopup: true, isReadOnly: false, …} index.9963583e.js:184 [faiz:] === schedules changed and refresh calendar (41) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}] index.9963583e.js:184 [faiz:] === schedules changed and refresh calendar (41) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}] index.9963583e.js:131 [faiz:] === Polygonal theme green index.9963583e.js:131 [faiz:] === getCurrentTheme dark index.9963583e.js:131 [faiz:] === Polygonal theme dark 4index.9963583e.js:131 [faiz:] === getCurrentTheme dark index.9963583e.js:131 [faiz:] === Polygonal theme dark 4index.9963583e.js:131 [faiz:] === getCurrentTheme dark index.9963583e.js:184 [faiz:] === page calendar: internalSchedules (41) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}] index.9963583e.js:184 [faiz:] === page calendar: subscriptionSchedules [] instrument.js:112 "Datascript query: " [:find (pull ?b [:db/id :block/uuid :block/parent :block/left :block/collapsed? :block/format :block/refs :block/_refs :block/path-refs :block/tags :block/content :block/marker :block/priority :block/properties :block/pre-block? :block/scheduled :block/deadline :block/repeated? :block/created-at :block/updated-at :block/file :block/heading-level {:block/page [:db/id :block/name :block/original-name :block/journal-day]} {:block/_parent ...}]) :in $ % :where (page-ref ?b "daily log")] index.9963583e.js:184 [faiz:] === page calendar: internalSchedules (41) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}] index.9963583e.js:184 [faiz:] === page calendar: subscriptionSchedules [] index.9963583e.js:184 [faiz:] === calendarOptions {defaultView: 'month', taskView: true, scheduleView: true, useDetailPopup: true, isReadOnly: false, …} index.9963583e.js:184 [faiz:] === schedules changed and refresh calendar (41) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}] index.9963583e.js:184 [faiz:] === schedules changed and refresh calendar (41) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}] index.9963583e.js:131 [faiz:] === Polygonal theme green index.9963583e.js:131 [faiz:] === getCurrentTheme dark index.9963583e.js:131 [faiz:] === Polygonal theme dark 4index.9963583e.js:131 [faiz:] === getCurrentTheme dark index.9963583e.js:131 [faiz:] === Polygonal theme dark 4index.9963583e.js:131 [faiz:] === getCurrentTheme dark vendor.318f26bb.js:9293 z / z2 / zlevel of displayable is invalid, which may cause unexpected errors logInvalidZError @ vendor.318f26bb.js:9293 i._updateAndAddDisplayable @ vendor.318f26bb.js:9293 i._updateAndAddDisplayable @ vendor.318f26bb.js:9293 i._updateAndAddDisplayable @ vendor.318f26bb.js:9293 i.updateDisplayList @ vendor.318f26bb.js:9293 i.getDisplayList @ vendor.318f26bb.js:9293 i.refresh @ vendor.318f26bb.js:9333 i.refreshImmediately @ vendor.318f26bb.js:9302 i._flush @ vendor.318f26bb.js:9302 animation.Animation$1.stage.update @ vendor.318f26bb.js:9302 o.update @ vendor.318f26bb.js:9293 _ @ vendor.318f26bb.js:9293 requestAnimationFrame (async) o._startLoop @ vendor.318f26bb.js:9293 o.start @ vendor.318f26bb.js:9293 i.refresh @ vendor.318f26bb.js:9302 i.add @ vendor.318f26bb.js:9302 i.render @ vendor.318f26bb.js:9314 o._doUpdateAxisPointerClass @ vendor.318f26bb.js:9314 o.updateAxisPointer @ vendor.318f26bb.js:9314 vt @ vendor.318f26bb.js:9314 each$7 @ vendor.318f26bb.js:9280 updateDirectly @ vendor.318f26bb.js:9314 (anonymous) @ vendor.318f26bb.js:9314 each$7 @ vendor.318f26bb.js:9280 doDispatchAction @ vendor.318f26bb.js:9314 o.dispatchAction @ vendor.318f26bb.js:9314 s @ vendor.318f26bb.js:9314 (anonymous) @ vendor.318f26bb.js:9314 doEnter @ vendor.318f26bb.js:9314 (anonymous) @ vendor.318f26bb.js:9280 (anonymous) @ vendor.318f26bb.js:9314 each$7 @ vendor.318f26bb.js:9280 (anonymous) @ vendor.318f26bb.js:9314 i.trigger @ vendor.318f26bb.js:9293 o.dispatchToElement @ vendor.318f26bb.js:9293 o.mousemove @ vendor.318f26bb.js:9293 i.trigger @ vendor.318f26bb.js:9293 mousemove @ vendor.318f26bb.js:9293 (anonymous) @ vendor.318f26bb.js:9293 index.9963583e.js:184 [faiz:] === page calendar: internalSchedules (41) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}] index.9963583e.js:184 [faiz:] === page calendar: subscriptionSchedules [] instrument.js:112 "Datascript query: " [:find (pull ?b [:db/id :block/uuid :block/parent :block/left :block/collapsed? :block/format :block/refs :block/_refs :block/path-refs :block/tags :block/content :block/marker :block/priority :block/properties :block/pre-block? :block/scheduled :block/deadline :block/repeated? :block/created-at :block/updated-at :block/file :block/heading-level {:block/page [:db/id :block/name :block/original-name :block/journal-day]} {:block/_parent ...}]) :in $ % :where (page-ref ?b "daily log")] index.9963583e.js:184 [faiz:] === page calendar: internalSchedules (41) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}] index.9963583e.js:184 [faiz:] === page calendar: subscriptionSchedules [] index.9963583e.js:184 [faiz:] === calendarOptions {defaultView: 'month', taskView: true, scheduleView: true, useDetailPopup: true, isReadOnly: false, …} index.9963583e.js:184 [faiz:] === schedules changed and refresh calendar (41) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}] index.9963583e.js:184 [faiz:] === schedules changed and refresh calendar (41) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}] index.9963583e.js:131 [faiz:] === Polygonal theme green index.9963583e.js:131 [faiz:] === getCurrentTheme dark index.9963583e.js:131 [faiz:] === Polygonal theme dark 4index.9963583e.js:131 [faiz:] === getCurrentTheme dark index.9963583e.js:131 [faiz:] === Polygonal theme dark 4index.9963583e.js:131 [faiz:] === getCurrentTheme dark index.9963583e.js:184 [faiz:] === page calendar: internalSchedules (41) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}] index.9963583e.js:184 [faiz:] === page calendar: subscriptionSchedules [] instrument.js:112 "Datascript query: " [:find (pull ?b [:db/id :block/uuid :block/parent :block/left :block/collapsed? :block/format :block/refs :block/_refs :block/path-refs :block/tags :block/content :block/marker :block/priority :block/properties :block/pre-block? :block/scheduled :block/deadline :block/repeated? :block/created-at :block/updated-at :block/file :block/heading-level {:block/page [:db/id :block/name :block/original-name :block/journal-day]} {:block/_parent ...}]) :in $ % :where (page-ref ?b "daily log")] index.9963583e.js:184 [faiz:] === page calendar: internalSchedules (41) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}] index.9963583e.js:184 [faiz:] === page calendar: subscriptionSchedules [] index.9963583e.js:184 [faiz:] === calendarOptions {defaultView: 'month', taskView: true, scheduleView: true, useDetailPopup: true, isReadOnly: false, …} index.9963583e.js:184 [faiz:] === schedules changed and refresh calendar (41) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}] index.9963583e.js:184 [faiz:] === schedules changed and refresh calendar (41) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}] index.9963583e.js:131 [faiz:] === Polygonal theme green index.9963583e.js:192 ======xxxxxx index.9963583e.js:131 [faiz:] === getCurrentTheme dark index.9963583e.js:131 [faiz:] === Polygonal theme dark 4index.9963583e.js:131 [faiz:] === getCurrentTheme dark index.9963583e.js:131 [faiz:] === Polygonal theme dark 2index.9963583e.js:131 [faiz:] === getCurrentTheme dark index.9963583e.js:192 [faiz:] === res {journalEvents: {…}, projectEventsMap: Map(6), fullEvents: {…}} 2index.9963583e.js:131 [faiz:] === Polygonal theme dark index.9963583e.js:131 [faiz:] === Polygonal theme dark 22index.9963583e.js:131 [faiz:] === getCurrentTheme dark index.9963583e.js:184 [faiz:] === page calendar: internalSchedules (41) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}] index.9963583e.js:184 [faiz:] === page calendar: subscriptionSchedules [] instrument.js:112 "Datascript query: " [:find (pull ?b [:db/id :block/uuid :block/parent :block/left :block/collapsed? :block/format :block/refs :block/_refs :block/path-refs :block/tags :block/content :block/marker :block/priority :block/properties :block/pre-block? :block/scheduled :block/deadline :block/repeated? :block/created-at :block/updated-at :block/file :block/heading-level {:block/page [:db/id :block/name :block/original-name :block/journal-day]} {:block/_parent ...}]) :in $ % :where (page-ref ?b "daily log")] index.9963583e.js:184 [faiz:] === page calendar: internalSchedules (41) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}] index.9963583e.js:184 [faiz:] === page calendar: subscriptionSchedules [] index.9963583e.js:184 [faiz:] === calendarOptions {defaultView: 'month', taskView: true, scheduleView: true, useDetailPopup: true, isReadOnly: false, …} index.9963583e.js:184 [faiz:] === schedules changed and refresh calendar (41) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}] index.9963583e.js:131 [faiz:] === Polygonal theme green index.9963583e.js:131 [faiz:] === getCurrentTheme dark index.9963583e.js:131 [faiz:] === Polygonal theme dark 4index.9963583e.js:131 [faiz:] === getCurrentTheme dark index.9963583e.js:131 [faiz:] === Polygonal theme dark 4index.9963583e.js:131 [faiz:] === getCurrentTheme dark index.9963583e.js:182 [faiz:] === dataWithCoordinates [{…}]

------------------ 原始邮件 ------------------ 发件人: "Hayden @.>; 发送时间: 2022年6月12日(星期天) 中午11:16 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [haydenull/logseq-plugin-agenda] 内存泄露 (Issue #59)

使用设置页的 Restore Defaults 重置下设置呢,另外可以使用 Ctrl + shift + i 打开控制台,看看点击的时候有什么报错没。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

deciia avatar Jun 12 '22 03:06 deciia

从日志上看也没什么问题,你现在用的还是 0.7.0 版本是么

然后目前可以确定的是dashboard页和设置页没有问题,切到日历、甘特图和时间线三个页面就会导致logseq卡死?

haydenull avatar Jun 12 '22 03:06 haydenull

logseq v0.73 Dashboard点向下的箭头也会卡。 切换日历不会,切到甘特图和时间线会卡,过大概几分钟内存增加几百M然后就恢复操作了,点回到日历再点一次甘特图内存增加2000多M

------------------ 原始邮件 ------------------ 发件人: "Hayden @.>; 发送时间: 2022年6月12日(星期天) 中午11:54 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [haydenull/logseq-plugin-agenda] 内存泄露 (Issue #59)

从日志上看也没什么问题,你现在用的还是 0.7.0 版本是么

然后目前可以确定的是dashboard页和设置页没有问题,切到日历、甘特图和时间线三个页面就会导致logseq卡死?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

deciia avatar Jun 12 '22 04:06 deciia

尝试了好几次没能复现出来,可能是时间跨度太大,导致甘特图的内容太多,渲染卡住了,可以试下新开一个库,随便建两个任务会卡吗

haydenull avatar Jun 13 '22 23:06 haydenull

尝试了好几次没能复现出来,可能是时间跨度太大,导致甘特图的内容太多,渲染卡住了,可以试下新开一个库,随便建两个任务会卡吗

新开的库不会卡,新开的库建了很多也没有卡

deciia avatar Jun 13 '22 23:06 deciia

你原先库里有什么时间特别久时间以前的任务的吗,journal 的甘特图会以第一个任务的日期到今天来计算甘特图的长度。

haydenull avatar Jun 13 '22 23:06 haydenull

没有,最早的是5月29日 我把文件(journals、pages、assets)全拖出来,去掉配置(logseq文件夹),重建数据做了测试,还是会卡

deciia avatar Jun 13 '22 23:06 deciia

image 如果你这 journal 展开后还能再拖动的话,试试拖到最左边。看看第一个任务的开始时间。

我这边试了下如果时间解析出错的话,会设置时间到 1970 年,这个时候我这页面会很卡。点击等操作需要等几秒钟才会反应过来。

haydenull avatar Jun 14 '22 06:06 haydenull

1655187946989 点击这个就卡住,

1655188216060 点击这个,在列表中仔细找了一下,没有发现早于5月29日的

------------------ 原始邮件 ------------------ 发件人: "Hayden @.>; 发送时间: 2022年6月14日(星期二) 下午2:16 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [haydenull/logseq-plugin-agenda] 内存泄露 (Issue #59)

如果你这 journal 展开后还能再拖动的话,试试拖到最左边。看看第一个任务的开始时间。 我这边试了下如果时间解析出错的话,会设置时间到 1970 年,这个时候我这页面会很卡。点击等操作需要等几秒钟才会反应过来。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

deciia avatar Jun 14 '22 06:06 deciia

应该是某个任务解析出问题了,现在看来只能一个个排查这些任务了。

或者你把这些任务相关的笔记脱敏发我,我来试一下?

haydenull avatar Jun 14 '22 06:06 haydenull

群里的昵称是什么

deciia avatar Jun 14 '22 06:06 deciia

如我们讨论的,当时间跨度非常长的时候,甘特图的渲染会非常慢,后续插件会针对这个问题优化。

haydenull avatar Jun 14 '22 07:06 haydenull