There are a number of Bitmap objects that are not disposed. Changing this behavior could improve the memory usage when exporting PDF documents.