Stream: bugs

Topic: roc_language_server memory issue?


view this post on Zulip Vincent Van Dyck (Jul 15 2025 at 21:46):

Hello,

I've noticed multiple times that over time, the roc_language_server starts taking up a serious chunk of memory.
image.png

I'm not doing anything crazy afaik, I have the zed editor open with one or two .roc files and I am running roc dev in a seperate terminal instance.

(Feel free to (re)move this if this is not the appropriate place for this)

view this post on Zulip Vincent Van Dyck (Jul 15 2025 at 21:47):

(closing the zed editor does release this btw, so it might be a roc extension issue?)

view this post on Zulip Brendan Hansknecht (Jul 16 2025 at 01:55):

I think it is a known bug. Given the rewrite to the zig compiler, not sure anyway has looked at it. I think the old rosy compiler may have a few memory leaks

view this post on Zulip Anton (Jul 16 2025 at 09:07):

This is #bugs > lsp memory leak @ 💬 I could not find the cause at the time

view this post on Zulip Brendan Hansknecht (Jul 16 2025 at 15:44):

Tracy will help with bugs like this in the zig compiler


Last updated: Jul 26 2025 at 12:14 UTC