using haskell or rust is fun because you never know when you'll leave your computer alone for 5 minutes and come back to it freezing up because HLS/rust-analyzer used up over 32G of memory

melee, netrunner, baduk, ffxiv, nixos, rust, haskell, reverse engineering




using haskell or rust is fun because you never know when you'll leave your computer alone for 5 minutes and come back to it freezing up because HLS/rust-analyzer used up over 32G of memory
and I thought clangd eating like 12 GB of RAM for a large C++ project was bad...
If you're on Linux, I would recommend trying out earlyoom (can be found in all relevant package managers I think). In my experience, that works a lot better than the kernel's OOM killer, because earlyoom starts terminating processes before the RAM usage goes so high that the system freezes up.
I have actually wondered if this was just me! This is the first time I've heard someone else hitting an obvious memory leak. I'm curious if anyone is doing profiling on HLS?