I do a lot of work with big PDFs. It might be easier to split your big PDFs into multiple pages and have the getEmbeddedPDF function rotate them. Splitting is easy using Acrobat or pdftk (which can do it on the fly as you prepare your view).
But again, this worked with smaller pdfs as expected, it shows only the specified page, but not with larger ones. Larger files still dont load.
I guess I could save the page (on its own) as a temp pdf file to local drive and read its content, but for various reasons I’d avoid doing so.
I think there is probably a timeout mechanism in loading pdfs, trying to figure out how to overcome it.
Yes, I don’t think PDFs “stream”, you need to hold the whole structure in memory somehow. I fully understand that splitting the PDFs into many small page files is ugly, but it would probably work. You could also turn each page into an image.