CPU and RAM peg on invoice PDF creation

Finally got this installed. Set up my first invoice to test emails. Clicked save and it hung on “processing” for about 10 minutes with the server ram and cpu at 100%. Eventually had to reboot the server. Using snap for PDF generation. Host is Docker on Ubuntu 22.04 on DigitalOcean droplet 1gb ram 1 cpu.

After some searching I changed PDF generation to hosted_ninja and it’s much faster. Almost instantaneous. Any reason to not just keep it on there?

The benefit to using SnapPDF is that the PDF is generated directly on your server.