Runs out of RAM on Ubuntu 22 