nhn / tui.image-editor

🍞🎨 Full-featured photo image editor using canvas. It is really easy, and it comes with great filters.
http://ui.toast.com/tui-image-editor
MIT License
6.83k stars 1.26k forks source link

Total canvas memory use exceeds the maximum limit (Ionic app) #884

Open shivang-pokar opened 11 months ago

shivang-pokar commented 11 months ago

Total canvas memory use exceeds the maximum limit (224Mb) getting this error on second time

Steps to reproduce the behavior:

  1. Create instance draw something and destroy
  2. do same process again and stoped working and showing error
  3. Error: Total canvas memory use exceeds the maximum limit (224Mb)

Device : iPhone 14 Pro OS : iOS OS Version :16.2 Ionic Version : 5

SDK Version : 3.15.3 Note :- Already check previous bugs report and applied still not fixed

Also tried const canvas = tuiImageEditor._graphics._canvas; canvas.dispose(); tuiImageEditor.destroy();