I am using something like this:

PDDocument a1doc = Loader.loadPDF(new
RandomAccessReadBuffer(resourceAsStream), () -> new
ScratchFile(MemoryUsageSetting.setupMixed(100)));

(I use it with tempFileOnly, but the rest are the same)

On Thu, Oct 5, 2023 at 9:50 PM John Lussmyer <cou...@casadelgato.com> wrote:
>
> I'm trying to update to the latest PDFBox 3.0.0.
> The code was using a call to
> loadPDF(file,MemoryUsageSetting.setupMixed(MB100); // 100 MB
>
> I see that that no longer exists, but the only mention of it doesn't
> seem to provide any info on how to configure an equivalent replacement?
>
> Any suggestions?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
> For additional commands, e-mail: users-h...@pdfbox.apache.org
>


-- 
Attila Pados
Java developer
+36204432457

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org

Reply via email to