Exceed canvas memory limit make pages document render as blank pages

WebViewer Version: 10.7.3

Do you have an issue with a specific file(s)? No
Can you reproduce using one of our samples or online demos? No
Are you using the WebViewer server? No
Does the issue only happen on certain browsers? Yes
Is your issue related to a front-end framework? No
Is your issue related to annotations? No

Please give a brief summary of your issue:
Canvas memory use exceeds maximum limit and then document renders blank pages

Please describe your issue and provide steps to reproduce it:

Hi I am having a problem with Safari and Chrome browsers on iOS 16 and earlier versions. The problem is that after accessing several documents I reach the memory limit for canvas, this causes my documents to load with blank sheets. Attached is a screenshot of the warnings that appear in console.
Is there any way to configure the canvas that are rendered in the webviewer so that they do not occupy so much space and thus not to exceed the limit of allowed space?
I understand that in iOS the canvases are saved in cache, but they are not cleaned once they have been used. Is there any way to generate this cleanup from the webviewer? Is this contemplated?
Thank you.

Capture

Hello Emiliano,

Thank you for contact WebViewer Forums.

If you want to clear cache, you can use the refreshAll() method. API documentation here: Apryse WebViewer Class: DocumentViewer

You can wrap this method inside a documentUnloaded() event which triggers when the current document is closed. API here: Apryse WebViewer Class: DocumentViewer

Regards,
Luke
Web Development Support Engineer
Apryse Software Inc.

Hi Luke,
Thank you for your answer, I’ll give it a try and let you know if this works.