If building your PDF document does take very long or if a lot of memory is necessary for building the PDF document you might use many large images in your PDF document. For example, if you scale your local class hierarchies by the factor of 2, the memory needed for every image is four times the memory needed for a non scaled image.