This patch applies changes made in PDFBOX-2101 to decrease memory consumption during extraction of embedded images. This also applies the recommendation by Tilman Hausherr on the PDFBox dev list to clear resources after handling each page.
is related to
PDFBOX-2101Surprising memory consumption when extracting images
TIKA-1294Add ability to turn off extraction of PDXObjectImages (TIKA-1268) from PDFs