when generating PDF, bump the heap size way up, to avoid OOMEs during transcoding of large image data URLs