Stream: compiler development

Topic: zls uses all my ram and cpu and makes me sad


view this post on Zulip Eli Dowling (Jan 28 2026 at 04:27):

Does anyone else struggle with zls eating all their system resources?
It's like it gets stuck in some kind of compile loop or something. But it's regularly using 100% of my cpu and 15gb of ram.
I'm wondering if I've got something setup wrong, or if this is just normal

view this post on Zulip Luke Boswell (Jan 28 2026 at 04:28):

I haven't experienced that

view this post on Zulip Luke Boswell (Jan 28 2026 at 04:28):

Do you build it from source?

view this post on Zulip Luke Boswell (Jan 28 2026 at 04:28):

I checked out the tag for 0.15.2 and built that from source I think

view this post on Zulip Eli Dowling (Jan 28 2026 at 04:34):

I'm just using whatever is in the nix flake.

view this post on Zulip Eli Dowling (Jan 28 2026 at 06:01):

interestingly. I just ran out of disk space. you'll never guess why:
414.0 GiB [############################] /.zig-cache


Last updated: Feb 20 2026 at 12:27 UTC