Try a lighter local model, reduce the requested diagram size, close GPU-heavy apps, or use a PC with more RAM and a dedicated GPU.