NoMemoryError: failed to allocate memory #145

Closed
preranalanjile opened this Issue Aug 21, 2012 · 0 comments

Projects

None yet

2 participants

@preranalanjile

Hi

While generating pdf it gives "NoMemoryError: failed to allocate memory" error.

It shows error in

vendor/gems/pdfkit/lib/pdfkit/pdfkit.rb:71:in strip'
vendor/gems/pdfkit/lib/pdfkit/pdfkit.rb:71:in
to_pdf'
vendor/gems/pdfkit/lib/pdfkit/pdfkit.rb:76:in `to_file'

I have passed "disable-pdf-compression" true, to remove the compression of data therefore my pdf size is 1.2GB.

Can you suggest something to solve this error?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment