I don't think you're doing anything wrong. I struggle with similar workloads on 32GB RAM. Compute isn't the issue, once I have a JetBrains IDE open, a dev environment, some browser tabs, Claude, and a bunch of other crap Electron apps I need the machine is already swapping quite a bit.