PDFJsAnnotations icon indicating copy to clipboard operation
PDFJsAnnotations copied to clipboard

Memory canvas use exceeds the maximum limit (254mb)

Open jesesqui opened this issue 2 years ago • 1 comments

Memory canvas use exceeds the maximum limit (254mb) the console show this messages when use it in iPad, anything recommendation for increase the limit, tks. Captura de Pantalla 2022-05-20 a la(s) 14 53 48

jesesqui avatar May 23 '22 16:05 jesesqui

It seems this is a Safari-specific issue and happens when holding canvas objects in variables. So might have to update the way that the library access canvas objects. Instead of taking them from this.fabricObjects variables when accessing a canvas object, accessing them with document.querySelector might fix the issue.

RavishaHesh avatar May 24 '22 05:05 RavishaHesh