sandal/prawn — Issue #324: Transparent PNGs memory intensive
Author: luckydev
Created: 2012-02-13 10:47:36+00:00
State: open

We use prawn for all PDF generation in our raise app.

we have delayed_job background workers which picks up certain records from database and generate a PDF document of them. In that document, there can be user uploaded PNGs.

When generating the PDF with transparent PNGs, the memory consumed by delayed_job worker quickly grows from 60MB to 500MB.. where as in the case of normal PNGs with some backgrounds, the memory consumed is very low.

Im using Prawn 0.8.4, Ruby 1.9.2 and Rails 3.0.5 for my app. Is this problem fixed in recent versions?