Not enough memory to run

Solved

I'm trying to print invoices but I'm getting a message that says "Not enough memory to run"