Not sure what a god place for this is, probably an issue with Zed or the Roc extension for Zed, but I'm just initially trying to find out if anyone here has had similar experiences.
When I do Roc programming in Zed for a while my PC continuously runs out of memory (RAM) - in a magnitude of ~9-12 GB
When I restart the language server I get back ~3 GB, when I close the entire editor I get back the full 9-12 GB.
Has anyone else observed similar behavior?
I had mine on Mac get to 68GB!
But my program also has an infinite loop when running
Had
From some weird ir issue
you have 68GB of ram + compressed ram on a mac...wow
Yeah 32GB of physical memory. I don't really understand macOS memory model and how i technically had something like 225% memory usage.
That's not hard. With compress you can generally get up to around 2 to 3x memory
So maybe 10GB was uncompressed and 22GB was compress at ~3x to get ~72GB of ram (or in this case 68GB)
also swapfiles right?
I don't think Mac does swap files (by default)
I stand correct, looks like it has a dynamic pager now.
Sound like it creates swap files on the fly
Last updated: Jul 06 2025 at 12:14 UTC