JS how to clear the page cache of a pdf document object pdf.js or how not to save it

When I take a page (page = doc.getPage), render it and then clean it (page.cleanup()), the page cache remains in the document object (doc), which accumulates and quickly clogs memory.

Tell me, please, is there any way to clear this cache or turn it off, other than just closing the document and opening it again (but it’s slow)? PDF version.js v3.11.174

doc._transport.#pageCache and doc._transport.#pagePromises are private and methods for their I did not find any cleaning (doc.cleanup() and doc._transport.startCleanup() does not help, but doc.destroy() clears the entire document object and it is not an option to continue working with it).