Apparently, upgrading ubuntu 20.04 to 22.04 halved the ram usage on my server? Might be something with counting shared memory different with Postgres 14 vs 12.